[PATCH] D155594: [InstCombine][NFC] Add tests for preserving !unreachable
Paweł Bylica via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 02:58:59 PDT 2023
chfast added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/select_meta.ll:352
+ %nb = xor i1 %b, true
+ %r = select i1 %na, i1 %nb, i1 false, !unpredictable !3
+ ret i1 %r
----------------
chfast wrote:
> Here `!unpredictable` can be preserved because if `!a` is unpredictable the `a` is also. But `!prof` must be swapped.
This test case was removed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155594/new/
https://reviews.llvm.org/D155594
More information about the llvm-commits
mailing list