[PATCH] D104661: [InstSimplify] Add more poison folding optimizations
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 22 07:55:25 PDT 2021
aqjune updated this revision to Diff 353648.
aqjune added a comment.
- Make poison check independent from Q.isUndefValue query calls
- Remove `xor poison, X -> poison` folding to avoid `xor poison, poison -> poison` as mentioned in D104648 <https://reviews.llvm.org/D104648>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104661/new/
https://reviews.llvm.org/D104661
Files:
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstCombine/and-narrow.ll
llvm/test/Transforms/InstCombine/select-binop-cmp.ll
llvm/test/Transforms/InstSimplify/ConstProp/poison.ll
llvm/test/Transforms/InstSimplify/and.ll
llvm/test/Transforms/InstSimplify/fcmp.ll
llvm/test/Transforms/InstSimplify/mul.ll
llvm/test/Transforms/InstSimplify/or.ll
llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
llvm/test/Transforms/InstSimplify/select.ll
llvm/test/Transforms/InstSimplify/shift.ll
llvm/test/Transforms/InstSimplify/sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104661.353648.patch
Type: text/x-patch
Size: 14075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/68ce98e2/attachment-0001.bin>
More information about the llvm-commits
mailing list