[LLVMdev] X86TarIgetLowering::LowerToBT

Chris Sears chris.sears at gmail.com
Fri Jan 23 10:27:59 PST 2015


Is that a bug in the current clang then?

.globl _IsBitSet31
.align 4, 0x90
_IsBitSet31:                            ## @IsBitSet31
.cfi_startproc
## BB#0:
pushq %rbp
Ltmp157:
.cfi_def_cfa_offset 16
Ltmp158:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp159:
.cfi_def_cfa_register %rbp
movl $42, %ecx
subq %rdi, %rcx
leaq 47(%rdi), %rax
testl $-2147483648, %edi      ## imm = 0xFFFFFFFF80000000
cmoveq %rcx, %rax
popq %rbp
retq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150123/431f10f2/attachment.html>


More information about the llvm-dev mailing list