aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-06-12 10:46:08 +0100
committerGitHub <noreply@github.com>2025-06-12 10:46:08 +0100
commit2a27c059eccd96b6e46464dbdf69fd2f6237a56c (patch)
tree6a3c38152121f8ac5fe10d32844fb70fedfc9c12 /clang/lib/Sema/SemaLookup.cpp
parentdb8d34db26e9ea92c08d6e813eca9cce40c48478 (diff)
downloadllvm-2a27c059eccd96b6e46464dbdf69fd2f6237a56c.zip
llvm-2a27c059eccd96b6e46464dbdf69fd2f6237a56c.tar.gz
llvm-2a27c059eccd96b6e46464dbdf69fd2f6237a56c.tar.bz2
[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 'clang/lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions