[llvm-commits] [llvm] r62196 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
echeng at apple.com
Tue Jan 13 15:31:40 PST 2009
But is it a good idea to use it? Isn't it slow on some earlier x86
implementations?
Evan
On Jan 13, 2009, at 3:27 PM, Dan Gohman wrote:
> 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 &&
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list