[PATCH] D55950: [ConstantFolding] Fold undef for integer intrinsics
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 31 07:51:04 PST 2018
RKSimon added a comment.
@spatel Any comments?
================
Comment at: lib/Analysis/ConstantFolding.cpp:2035
+ return UndefValue::get(Ty);
+ }
+
----------------
What about moving the mul cases to the top, handle this there and then fallthrough otherwise?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55950/new/
https://reviews.llvm.org/D55950
More information about the llvm-commits
mailing list