[PATCH] D30409: [SLP] Fix for PR32038: extra add of PHI node when it is not required.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 23:08:51 PST 2017


ABataev marked an inline comment as done.
ABataev added inline comments.


================
Comment at: test/Transforms/SLPVectorizer/X86/scheduling.ll:15
 ; CHECK-NEXT:    [[TMP15:%.*]] = extractelement <4 x i32> [[BIN_RDX2]], i32 0
-; CHECK-NEXT:    [[ADD52:%.*]] = add nsw i32 [[TMP15]],
+; CHECK:         [[ADD52:%.*]] = add i32 [[TMP15]],
 ; CHECK:          ret i32 [[ADD52]]
----------------
mkuper wrote:
> You have a separate patch to get this flag back, right?
Yes, right


https://reviews.llvm.org/D30409





More information about the llvm-commits mailing list