Permalink
Browse files

Workaround for incorrect vst2 codegen bug

  • Loading branch information...
1 parent b48a189 commit 243b1a6ff4fa319d91b697e8e4471c5d80ff6c72 @abadams abadams committed Jan 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Target/ARM/ARMISelLowering.cpp
View
4 lib/Target/ARM/ARMISelLowering.cpp
@@ -7335,6 +7335,10 @@ static SDValue CombineBaseUpdate(SDNode *N,
unsigned NumVecs = 0;
if (isIntrinsic) {
unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
+
+ // AA: bail out for VST2 to avoid bug
+ if (IntNo == Intrinsic::arm_neon_vst2) continue;
+
switch (IntNo) {
default: assert(0 && "unexpected intrinsic for Neon base update");
case Intrinsic::arm_neon_vld1: NewOpc = ARMISD::VLD1_UPD;

0 comments on commit 243b1a6

Please sign in to comment.