search for: addab

Displaying 2 results from an estimated 2 matches for "addab".

Did you mean: adab
2011 Jun 18
1
[LLVMdev] loop only executes once
...ret i32 1 Else: ; preds = %while, % EntryBlock %PD = load i32* %D %cond1 = icmp sgt i32 %PD, 2 br i1 %cond1, label %while, label %ewhile while: ; preds = %Else %pA = load i32* %A %pB = load i32* %B %addab = add i32 %pA, %pB store i32 %addab, i32* %C store i32 %pA, i32* %B store i32 %addab, i32* %A %sub = sub i32 %PD, 1 store i32 %sub, i32* %D br label %Else ewhile: ; preds = %Else %CR = load i32* %C ret i32 %CR } Source of function Proced...
2016 Feb 12
3
Experimental 6502 backend; memory operand folding problem
...problem I'm stuck on is folding memory operands. In the test file above, in @testSum, switch %a, %b to %b, %a. llc will assert in Register Spilling: "Remaining use wasn't a snippet copy". Debug output shows STRabs being generated, followed by an attempted fold of a stack-load into ADDabs. I must be on the wrong track in M6502InstrInfo::foldMemoryOperandImpl. If someone could please explain this error, it would really help. Thanks! - Nolan