summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/cxx-irgen.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-04-12 11:50:34 +0000
committerHal Finkel <hfinkel@anl.gov>2014-04-12 11:50:34 +0000
commit834da75d44f81b0de707e59859717ed189969025 (patch)
treeb5ce3352a3139fdbddd0bc0dc2652c08036dacbb /clang/test/Modules/cxx-irgen.cpp
parentc393ff07b234a0a3cfaca985e71d78fcbed7757f (diff)
downloadbcm5719-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.cpp6
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
OpenPOWER on IntegriCloud