search for: preserve_allcc

Displaying 4 results from an estimated 4 matches for "preserve_allcc".

Did you mean: preserve_all
2016 Jun 05
2
What kind of testcases should be required to test IPRA?
...heck %s ; NOIPRA: foo: ; NOIPRA: pushq %r10 ; NOIPRA: pushq %r9 ; NOIPRA: pushq %r8 ; NOIPRA: callq bar1 ; CHECK: foo: ; CHECK-NOT: pushq %r10 ; CHECK-NOT: pushq %r9 ; CHECK-NOT: pushq %r8 ; CHECK: callq bar1 target triple = "x86_64-unknown-unknown" define void @bar1() { ret void } define preserve_allcc void @foo()#0 { call void @bar1() call void @bar2() ret void } define void @bar2() { ret void } attributes #0 = {nounwind} Is this correct approach to verify spills? Sincerely, Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermai...
2016 Jun 02
2
What kind of testcases should be required to test IPRA?
Dear Mentors, I will be writing test cases for IPRA for lit infrastructure. Following 2 basic test cases I have identified : Program that does not have recursive function call. Program that does have recursive calls. Please suggest some other test cases or provide some hints. Sincerely, Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Jun 05
2
What kind of testcases should be required to test IPRA?
...> ; CHECK-NOT: pushq %r9 > > ; CHECK-NOT: pushq %r8 > > You can just write "CHECK-NOT: push" > > > ; CHECK: callq bar1 > > target triple = "x86_64-unknown-unknown" > > define void @bar1() { > > ret void > > } > > define preserve_allcc void @foo()#0 { > > call void @bar1() > > call void @bar2() > > ret void > > } > > define void @bar2() { > > ret void > > } > > attributes #0 = {nounwind} > > > > Is this correct approach to verify spills? > >...
2016 Jun 05
2
What kind of testcases should be required to test IPRA?
...; ; CHECK-NOT: pushq %r8 >> >> You can just write "CHECK-NOT: push" >> >> > ; CHECK: callq bar1 >> > target triple = "x86_64-unknown-unknown" >> > define void @bar1() { >> > ret void >> > } >> > define preserve_allcc void @foo()#0 { >> > call void @bar1() >> > call void @bar2() >> > ret void >> > } >> > define void @bar2() { >> > ret void >> > } >> > attributes #0 = {nounwind} >> > >> > Is this corr...