[PATCH] D18445: [VectorUtils] Don't try and truncate PHIs to a smaller bitwidth

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 06:34:03 PDT 2016


sbaranga added inline comments.

================
Comment at: lib/Analysis/VectorUtils.cpp:557
@@ +556,3 @@
+    // indvars.
+    // If we are required to shrink a PHI, abandon this entire equivalence class.
+    bool Abort = false;
----------------
Hi James,

Why would this be a problem for the loop vectorizer (we should state this here)? Also, won't indvars generally extend the phi?

Cheers,
Silviu


Repository:
  rL LLVM

http://reviews.llvm.org/D18445





More information about the llvm-commits mailing list