brintos

brintos / llvm-project-archived public Read only

0
0
Text · 434 B · 43d6fdc Raw
13 lines · plain
1; RUN: llc < %s -mtriple=xcore > %t1.s2;; This caused a compilation failure since the3;; address arithmetic was folded into the LDWSP instruction,4;; resulting in a negative offset which eliminateFrameIndex was5;; unable to eliminate.6define i32 @test(i32 %bar) nounwind readnone {7entry:8        %bar_addr = alloca i329        %0 = getelementptr i32, ptr %bar_addr, i32 -110        %1 = load i32, ptr %0, align 411        ret i32 %112}13