Displaying 1 result from an estimated 1 matches for "696107a".
Did you mean:
69607
2012 Nov 14
4
[LLVMdev] About a problem in SROA
...'bad.ll'.
2. Running pass 'SROA' on function '@_Z7vstore2Dv2_cjPU10AS16776960c'
Aborted
Is it a bug in SROA?
With the following patch, it seems the problem can be fixed. Any idea?
diff --git a/lib/Transforms/Scalar/SROA.cpp b/lib/Transforms/Scalar/SROA.cpp
index d95c855..696107a 100644
--- a/lib/Transforms/Scalar/SROA.cpp
+++ b/lib/Transforms/Scalar/SROA.cpp
@@ -2608,8 +2608,6 @@ private:
assert(OldOp == OldPtr);
IRBuilder<> IRB(&SI);
- if (VecTy)
- return rewriteVectorizedStoreInst(IRB, SI, OldOp);
Type *ValueTy = SI.getValueOperand()->...