[all-commits] [llvm/llvm-project] 469da6: [InstSimplify] Re-enable select ?, undef, X -> X t...
topperc via All-commits
all-commits at lists.llvm.org
Thu Jul 9 12:24:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 469da663f2df150629786df3f82c217062924f5e
https://github.com/llvm/llvm-project/commit/469da663f2df150629786df3f82c217062924f5e
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/select.ll
Log Message:
-----------
[InstSimplify] Re-enable select ?, undef, X -> X transform when X is provably not poison
Follow up from the transform being removed in D83360. If X is probably not poison, then the transform is safe.
Still plan to remove or adjust the code from ConstantFolding after this.
Differential Revision: https://reviews.llvm.org/D83440
More information about the All-commits
mailing list