diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-04-12 11:50:34 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-04-12 11:50:34 +0000 |
commit | 834da75d44f81b0de707e59859717ed189969025 (patch) | |
tree | b5ce3352a3139fdbddd0bc0dc2652c08036dacbb /clang/test/Modules/cxx-irgen.cpp | |
parent | c393ff07b234a0a3cfaca985e71d78fcbed7757f (diff) | |
download | bcm5719-llvm-834da75d44f81b0de707e59859717ed189969025.tar.gz bcm5719-llvm-834da75d44f81b0de707e59859717ed189969025.zip |
Fix test/Modules/cxx-irgen.cpp for PPC64
Target ABI code might add signext to the return types.
llvm-svn: 206107
Diffstat (limited to 'clang/test/Modules/cxx-irgen.cpp')
-rw-r--r-- | clang/test/Modules/cxx-irgen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Modules/cxx-irgen.cpp b/clang/test/Modules/cxx-irgen.cpp index 7a42cb6b8c7..8c7281bde27 100644 --- a/clang/test/Modules/cxx-irgen.cpp +++ b/clang/test/Modules/cxx-irgen.cpp @@ -6,13 +6,13 @@ @import cxx_irgen_left; @import cxx_irgen_right; -// CHECK-DAG: define available_externally hidden i32 @_ZN1SIiE1gEv({{.*}} #[[ALWAYS_INLINE:.*]] align +// CHECK-DAG: define available_externally hidden {{signext i32|i32}} @_ZN1SIiE1gEv({{.*}} #[[ALWAYS_INLINE:.*]] align int a = S<int>::g(); -// CHECK-DAG: define available_externally i32 @_ZN1SIiE1fEv({{.*}} #[[ALWAYS_INLINE]] align +// CHECK-DAG: define available_externally {{signext i32|i32}} @_ZN1SIiE1fEv({{.*}} #[[ALWAYS_INLINE]] align int b = h(); -// CHECK-DAG: define linkonce_odr i32 @_Z3minIiET_S0_S0_(i32 +// CHECK-DAG: define linkonce_odr {{signext i32|i32}} @_Z3minIiET_S0_S0_(i32 int c = min(1, 2); // CHECK: attributes #[[ALWAYS_INLINE]] = {{.*}} alwaysinline |