r241315 - Make corrections to r241314.
Akira Hatanaka
ahatanaka at apple.com
Thu Jul 2 18:05:20 PDT 2015
Author: ahatanak
Date: Thu Jul 2 20:05:19 2015
New Revision: 241315
URL: http://llvm.org/viewvc/llvm-project?rev=241315&view=rev
Log:
Make corrections to r241314.
The return type of a function follows the signext attribute.
Modified:
cfe/trunk/test/CodeGenCXX/trap-fnattr.cpp
Modified: cfe/trunk/test/CodeGenCXX/trap-fnattr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/trap-fnattr.cpp?rev=241315&r1=241314&r2=241315&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/trap-fnattr.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/trap-fnattr.cpp Thu Jul 2 20:05:19 2015
@@ -11,19 +11,19 @@ void test_builtin(void) {
__builtin_trap();
}
-// TRAPFUNC-LABEL: define i32 {{.*}}@_Z13test_noreturnv
+// TRAPFUNC-LABEL: define {{.*}}i32 @_Z13test_noreturnv
// TRAPFUNC: call void @llvm.trap() [[ATTR0]]
-// NOOPTION-LABEL: define i32 {{.*}}@_Z13test_noreturnv
+// NOOPTION-LABEL: define {{.*}}i32 @_Z13test_noreturnv
// NOOPTION: call void @llvm.trap(){{$}}
int test_noreturn(void) {
}
-// TRAPFUNC-LABEL: define i32 {{.*}}@_Z17test_add_overflowii
+// TRAPFUNC-LABEL: define {{.*}}i32 @_Z17test_add_overflowii
// TRAPFUNC: call void @llvm.trap() [[ATTR1:#[0-9]+]]
-// NOOPTION-LABEL: define i32 {{.*}}@_Z17test_add_overflowii
+// NOOPTION-LABEL: define {{.*}}i32 @_Z17test_add_overflowii
// NOOPTION: call void @llvm.trap() [[ATTR2:#[0-9]+]]
int test_add_overflow(int a, int b) {
More information about the cfe-commits
mailing list