Displaying 4 results from an estimated 4 matches for "return_i1".
2019 Jul 26
2
Stackmap offset computation on AArch64
...e(1)* %ptr
}
This gets emitted as the following assembly code:
test: // @test
.cfi_startproc
// %bb.0: // %entry
str x30, [sp, #-16]! // 8-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w30, -16
str x0, [sp, #8]
bl return_i1
.Ltmp0:
ldr x0, [sp, #8]
ldr x30, [sp], #16 // 8-byte Folded Reload
ret
.Lfunc_end0:
.size test, .Lfunc_end0-test
.cfi_endproc
The generated stackmap indicates that %ptr is located at offset -8 from the stack pointer, instead of the expected 8. After trying a few other configurations...
2019 Jul 31
0
Stackmap offset computation on AArch64
...// @test
>>> .cfi_startproc
>>> // %bb.0: // %entry
>>> str x30, [sp, #-16]! // 8-byte Folded Spill
>>> .cfi_def_cfa_offset 16
>>> .cfi_offset w30, -16
>>> str x0, [sp, #8]
>>> bl return_i1
>>> .Ltmp0:
>>> ldr x0, [sp, #8]
>>> ldr x30, [sp], #16 // 8-byte Folded Reload
>>> ret
>>> .Lfunc_end0:
>>> .size test, .Lfunc_end0-test
>>> .cfi_endproc
>>>
>>> The generated stackmap indicates that %p...
2015 Feb 09
2
[LLVMdev] DataLayout missing in isDereferenceablePointer()
Eric Christopher wrote:
> How are you trying to call it? Do you have a DataLayout?
In test/Analysis/ValueTracking/memory-dereferenceable.ll, just change
byval to dereferenceable(8), and %dparam won't match (see
lib/IR/Value.cpp:521 for the logic that is supposed to fire). How do I
get it to pass? I tried introducing a target-triple and
target-datalayout, but it didn't help.
2015 Jan 19
2
[LLVMdev] [INCOMPLETE] [GC] Support wrapping vararg functions in statepoint
...ert1(ArgType == ParamType,
diff --git a/test/CodeGen/X86/statepoint-call-lowering.ll b/test/CodeGen/X86/statepoint-call-lowering.ll
index 0f1ebbe..1b696c3 100644
--- a/test/CodeGen/X86/statepoint-call-lowering.ll
+++ b/test/CodeGen/X86/statepoint-call-lowering.ll
@@ -9,6 +9,7 @@ declare zeroext i1 @return_i1()
declare zeroext i32 @return_i32()
declare i32* @return_i32ptr()
declare float @return_float()
+declare i1 @varargf(i32, ...)
define i1 @test_i1_return() gc "statepoint-example" {
; CHECK-LABEL: test_i1_return
@@ -75,6 +76,20 @@ entry:
ret i1 %call2
}
+define i1 @test_vararg...