[PATCH] D143593: [InstCombine] Don't fold freeze poison when it's used in shufflevector
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 13:04:59 PST 2023
spatel added a comment.
I'm getting a bad feeling because the hack is already growing. :)
What if we squash any cast of freeze(poison) into the freeze itself as an addition to `getUndefReplacement()`:
https://alive2.llvm.org/ce/z/o7J2JS
That would give us a far-fetched improvement on something like this:
https://alive2.llvm.org/ce/z/hC_Gws
...so that could be an independent patch before the shuffle hack.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143593/new/
https://reviews.llvm.org/D143593
More information about the llvm-commits
mailing list