[PATCH] D44997: [InstCombine] Fold compare of int constant against an integer vector splat
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 11:38:48 PDT 2018
efriedma added inline comments.
================
Comment at: test/Transforms/InstCombine/icmp-bc-vecsplat.ll:114
+; CHECK-NEXT: [[COND:%.*]] = icmp ult i32 [[CAST]], 1212696647
+; CHECK-NEXT: ret i1 [[COND]]
+;
----------------
This can be optimized: https://rise4fun.com/Alive/wVf . Not sure if that's useful in practice.
Repository:
rL LLVM
https://reviews.llvm.org/D44997
More information about the llvm-commits
mailing list