brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · ce9b057 Raw
44 lines · plain
1; RUN: llc -relocation-model=static < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF642 3define i32 @t1(i32 %a, i32 %b) nounwind {4entry:5; ELF64: t16  %x = add i32 %a, %b  7  br i1 1, label %if.then, label %if.else8; ELF64-NOT: b {{\.?}}LBB0_19 10if.then:                                          ; preds = %entry11  call void @foo1()12  br label %if.end713 14if.else:                                          ; preds = %entry15  br i1 0, label %if.then2, label %if.else316; ELF64: b {{\.?}}LBB0_417 18if.then2:                                         ; preds = %if.else19  call void @foo2()20  br label %if.end621 22if.else3:                                         ; preds = %if.else23  %y = sub i32 %a, %b24  br i1 1, label %if.then5, label %if.end25; ELF64-NOT: b {{\.?}}LBB0_526 27if.then5:                                         ; preds = %if.else328  call void @foo1()29  br label %if.end30 31if.end:                                           ; preds = %if.then5, %if.else332  br label %if.end633 34if.end6:                                          ; preds = %if.end, %if.then235  br label %if.end736 37if.end7:                                          ; preds = %if.end6, %if.then38  ret i32 039}40 41declare void @foo1()42 43declare void @foo2()44