X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FBPF%2Fsanity.ll;h=7f0ef889ff99d0702f28859a6bf50b90280ff408;hb=HEAD;hp=db63c07b052de0f99b1fc1ca1ba3378a07d13a53;hpb=4fe85c75482f9d11c5a1f92a1863ce30afad8d0d;p=oota-llvm.git diff --git a/test/CodeGen/BPF/sanity.ll b/test/CodeGen/BPF/sanity.ll index db63c07b052..7f0ef889ff9 100644 --- a/test/CodeGen/BPF/sanity.ll +++ b/test/CodeGen/BPF/sanity.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf | FileCheck %s +; RUN: llc < %s -march=bpfel | FileCheck %s @foo_printf.fmt = private unnamed_addr constant [9 x i8] c"hello \0A\00", align 1 @@ -102,11 +102,11 @@ declare i32 @manyarg(i32, i32, i32, i32, i32) #2 ; Function Attrs: nounwind uwtable define void @foo_printf() #1 { %fmt = alloca [9 x i8], align 1 - %1 = getelementptr inbounds [9 x i8]* %fmt, i64 0, i64 0 - call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* getelementptr inbounds ([9 x i8]* @foo_printf.fmt, i64 0, i64 0), i64 9, i32 1, i1 false) + %1 = getelementptr inbounds [9 x i8], [9 x i8]* %fmt, i64 0, i64 0 + call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @foo_printf.fmt, i64 0, i64 0), i64 9, i32 1, i1 false) ; CHECK-LABEL: foo_printf: ; CHECK: ld_64 r1, 729618802566522216 - %2 = call i32 (i8*, ...)* @printf(i8* %1) #3 + %2 = call i32 (i8*, ...) @printf(i8* %1) #3 ret void }