From 834da75d44f81b0de707e59859717ed189969025 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Sat, 12 Apr 2014 11:50:34 +0000 Subject: Fix test/Modules/cxx-irgen.cpp for PPC64 Target ABI code might add signext to the return types. llvm-svn: 206107 --- clang/test/Modules/cxx-irgen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/test/Modules/cxx-irgen.cpp') 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::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 -- cgit v1.2.3