diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-06-12 10:46:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 10:46:08 +0100 |
| commit | 2a27c059eccd96b6e46464dbdf69fd2f6237a56c (patch) | |
| tree | 6a3c38152121f8ac5fe10d32844fb70fedfc9c12 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | db8d34db26e9ea92c08d6e813eca9cce40c48478 (diff) | |
[X86] Use BSR passthrough behaviour to fold (CMOV (BSR ?, X), Y, (X == 0)) -> (BSR Y, X) (#143662)
Make use of targets that support BSR "pass through behaviour" on a zero input to remove a CMOV thats performing the same function
BSF will be a trickier patch as we need to make sure it works with the "REP BSF" hack in X86MCInstLower
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
