diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
commit | 87869db5f5394fc35f38de1ebbe85f21d5549d99 (patch) | |
tree | 6a00b449613d15ba851b41834050d2c7526224e4 /clang/test/CodeGen/mips-vector-arg.c | |
parent | c73f9c5d892b9c31ccbc838ad9a8a5f372f1d7be (diff) | |
download | bcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.tar.gz bcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.zip |
Add more attributes from the command line to functions.
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
llvm-svn: 176009
Diffstat (limited to 'clang/test/CodeGen/mips-vector-arg.c')
-rw-r--r-- | clang/test/CodeGen/mips-vector-arg.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/CodeGen/mips-vector-arg.c b/clang/test/CodeGen/mips-vector-arg.c index 9b2b35c8b70..3202ebd6309 100644 --- a/clang/test/CodeGen/mips-vector-arg.c +++ b/clang/test/CodeGen/mips-vector-arg.c @@ -8,26 +8,26 @@ typedef float v4sf __attribute__ ((__vector_size__ (16))); typedef int v4i32 __attribute__ ((__vector_size__ (16))); -// O32: define void @test_v4sf(i32 %a1.coerce0, i32 %a1.coerce1, i32 %a1.coerce2, i32 %a1.coerce3, i32 %a2, i32, i32 %a3.coerce0, i32 %a3.coerce1, i32 %a3.coerce2, i32 %a3.coerce3) #0 +// O32: define void @test_v4sf(i32 %a1.coerce0, i32 %a1.coerce1, i32 %a1.coerce2, i32 %a1.coerce3, i32 %a2, i32, i32 %a3.coerce0, i32 %a3.coerce1, i32 %a3.coerce2, i32 %a3.coerce3) [[NUW1:#[0-9]+]] // O32: declare i32 @test_v4sf_2(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -// N64: define void @test_v4sf(i64 %a1.coerce0, i64 %a1.coerce1, i32 %a2, i64, i64 %a3.coerce0, i64 %a3.coerce1) #0 +// N64: define void @test_v4sf(i64 %a1.coerce0, i64 %a1.coerce1, i32 %a2, i64, i64 %a3.coerce0, i64 %a3.coerce1) [[NUW1:#[0-9]+]] // N64: declare i32 @test_v4sf_2(i64, i64, i32, i64, i64, i64) extern test_v4sf_2(v4sf, int, v4sf); void test_v4sf(v4sf a1, int a2, v4sf a3) { test_v4sf_2(a3, a2, a1); } -// O32: define void @test_v4i32(i32 %a1.coerce0, i32 %a1.coerce1, i32 %a1.coerce2, i32 %a1.coerce3, i32 %a2, i32, i32 %a3.coerce0, i32 %a3.coerce1, i32 %a3.coerce2, i32 %a3.coerce3) #0 +// O32: define void @test_v4i32(i32 %a1.coerce0, i32 %a1.coerce1, i32 %a1.coerce2, i32 %a1.coerce3, i32 %a2, i32, i32 %a3.coerce0, i32 %a3.coerce1, i32 %a3.coerce2, i32 %a3.coerce3) [[NUW2:#[0-9]+]] // O32: declare i32 @test_v4i32_2(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -// N64: define void @test_v4i32(i64 %a1.coerce0, i64 %a1.coerce1, i32 %a2, i64, i64 %a3.coerce0, i64 %a3.coerce1) #0 +// N64: define void @test_v4i32(i64 %a1.coerce0, i64 %a1.coerce1, i32 %a2, i64, i64 %a3.coerce0, i64 %a3.coerce1) [[NUW2:#[0-9]+]] // N64: declare i32 @test_v4i32_2(i64, i64, i32, i64, i64, i64) extern test_v4i32_2(v4i32, int, v4i32); void test_v4i32(v4i32 a1, int a2, v4i32 a3) { test_v4i32_2(a3, a2, a1); } -// O32: attributes #0 = { nounwind "target-cpu"={{.*}} "target-features"={{.*}} } -// O32: attributes #1 = { "target-cpu"={{.*}} "target-features"={{.*}} } +// O32: attributes [[NUW1]] = { nounwind{{.*}} } +// O32: attributes [[NUW2]] = { nounwind{{.*}} } -// N64: attributes #0 = { nounwind "target-cpu"={{.*}} "target-features"={{.*}} } -// N64: attributes #1 = { "target-cpu"={{.*}} "target-features"={{.*}} } +// N64: attributes [[NUW1]] = { nounwind{{.*}} } +// N64: attributes [[NUW2]] = { nounwind{{.*}} } |