Debian Codegraph @

llvm/test/CodeGen/PowerPC/remat-imm.ll

raw
1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 ; ModuleID = 'test.c'
3 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32"
4 target triple = "powerpc-unknown-linux"
5
6 @.str = private unnamed_addr constant [6 x i8] c"%d,%d\00", align 1
7
8 define i32 @main() nounwind {
9 entry:
10 ; CHECK: li 4, 128
11 ; CHECK-NOT: mr 4, {{.*}}
12 %call = tail call i32 (ptr, ...) @printf(ptr @.str, i32 128, i32 128) nounwind
13 ret i32 0
14 }
15
16 declare i32 @printf(ptr nocapture, ...) nounwind