[all-commits] [llvm/llvm-project] ab17ed: [X86] Don't fold AND(SRL(X, Y), 1) -> SETCC(BT(X, Y))...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Apr 28 13:28:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab17ed0723fc715c752a71e59d3cef03cafcb68f
https://github.com/llvm/llvm-project/commit/ab17ed0723fc715c752a71e59d3cef03cafcb68f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-04-28 (Thu, 28 Apr 2022)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/setcc.ll
Log Message:
-----------
[X86] Don't fold AND(SRL(X,Y),1) -> SETCC(BT(X,Y)) on BMI2 targets
With BMI2 we have SHRX which is a lot quicker than regular x86 shifts.
Fixes #55138
More information about the All-commits
mailing list