[PATCH] D145424: [InstCombine] Add tests for transforming `(icmp pred (and X, Y), X)`; NFC
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 01:35:18 PDT 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/icmp-of-and-x.ll:89
+posy:
+ %r = call i1 @barrier()
+ ret i1 %r
----------------
nikic wrote:
> What are these barriers for?
To prevent the branch from folding to a select.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145424/new/
https://reviews.llvm.org/D145424
More information about the llvm-commits
mailing list