[llvm-commits] [llvm] r62196 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Dan Gohman
gohman at apple.com
Tue Jan 13 15:27:15 PST 2009
Author: djg
Date: Tue Jan 13 17:27:15 2009
New Revision: 62196
URL: http://llvm.org/viewvc/llvm-project?rev=62196&view=rev
Log:
BT appears to be available on all >= i386 chips.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=62196&r1=62195&r2=62196&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Jan 13 17:27:15 2009
@@ -5033,7 +5033,6 @@
// Lower (X & (1 << N)) == 0 to BT.
// Lower ((X >>u N) & 1) != 0 to BT.
// Lower ((X >>s N) & 1) != 0 to BT.
- // FIXME: Is i386 or later or available only on some chips?
if (Op0.getOpcode() == ISD::AND &&
Op0.hasOneUse() &&
Op1.getOpcode() == ISD::Constant &&
More information about the llvm-commits
mailing list