[PATCH] D48401: [InstCombine] fold vector select of binops with constant ops to 1 binop (PR37806)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 06:46:14 PDT 2018


RKSimon accepted this revision.
RKSimon added a comment.

LGTM



================
Comment at: lib/Transforms/InstCombine/InstructionCombining.cpp:1428
+      if (Inst.isIntDivRem())
+        NewC = getSafeVectorConstantForIntDivRem(NewC);
+      
----------------
Might as well separate this off as an NFC pre-commit.


https://reviews.llvm.org/D48401





More information about the llvm-commits mailing list