r206107 - Fix test/Modules/cxx-irgen.cpp for PPC64

Hal Finkel hfinkel at anl.gov
Sat Apr 12 04:50:35 PDT 2014


Author: hfinkel
Date: Sat Apr 12 06:50:34 2014
New Revision: 206107

URL: http://llvm.org/viewvc/llvm-project?rev=206107&view=rev
Log:
Fix test/Modules/cxx-irgen.cpp for PPC64

Target ABI code might add signext to the return types.

Modified:
    cfe/trunk/test/Modules/cxx-irgen.cpp

Modified: cfe/trunk/test/Modules/cxx-irgen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/cxx-irgen.cpp?rev=206107&r1=206106&r2=206107&view=diff
==============================================================================
--- cfe/trunk/test/Modules/cxx-irgen.cpp (original)
+++ cfe/trunk/test/Modules/cxx-irgen.cpp Sat Apr 12 06:50:34 2014
@@ -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





More information about the cfe-commits mailing list