From 7b5a5c5911d79105d736b1eadec906db76e5ccb9 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Sat, 12 Apr 2014 11:50:34 +0000 Subject: [PATCH] Fix test/Modules/cxx-irgen.cpp for PPC64 Target ABI code might add signext to the return types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206107 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/cxx-irgen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Modules/cxx-irgen.cpp b/test/Modules/cxx-irgen.cpp index 7a42cb6b8c..8c7281bde2 100644 --- a/test/Modules/cxx-irgen.cpp +++ b/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 -- 2.49.0