19 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; Check that we are able to predicate instructions with absolute3; addressing mode.4; CHECK: if ({{!?}}p{{[0-3]}}.new) memw(##gvar) = r{{[0-9]+}}5 6@gvar = external global i327define i32 @test2(i32 %a, i32 %b) nounwind {8entry:9 %cmp = icmp eq i32 %a, %b10 br i1 %cmp, label %if.then, label %if.end11 12if.then:13 store i32 %a, ptr @gvar, align 414 br label %if.end15 16if.end:17 ret i32 %b18}19