aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:18:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:18:17 +0000
commit218b78319277e27d8f283c85369f968ab580015b (patch)
treefd4eb814ec9c7539f83e75e68cfa3368b062be4b /clang/test/CodeGen/integer-overflow.c
parentd99b8f3ba8d114ccc8e64f948a90cb867b893a39 (diff)
downloadllvm-218b78319277e27d8f283c85369f968ab580015b.zip
llvm-218b78319277e27d8f283c85369f968ab580015b.tar.gz
llvm-218b78319277e27d8f283c85369f968ab580015b.tar.bz2
Update Clang tests to handle explicitly typed gep changes in LLVM.
llvm-svn: 230783
Diffstat (limited to 'clang/test/CodeGen/integer-overflow.c')
-rw-r--r--clang/test/CodeGen/integer-overflow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/integer-overflow.c b/clang/test/CodeGen/integer-overflow.c
index a007960..eee1da7 100644
--- a/clang/test/CodeGen/integer-overflow.c
+++ b/clang/test/CodeGen/integer-overflow.c
@@ -60,10 +60,10 @@ void test1() {
// -fwrapv should turn off inbounds for GEP's, PR9256
extern int* P;
++P;
- // DEFAULT: getelementptr inbounds i32*
- // WRAPV: getelementptr i32*
- // TRAPV: getelementptr inbounds i32*
- // CATCH_UB: getelementptr inbounds i32*
+ // DEFAULT: getelementptr inbounds i32, i32*
+ // WRAPV: getelementptr i32, i32*
+ // TRAPV: getelementptr inbounds i32, i32*
+ // CATCH_UB: getelementptr inbounds i32, i32*
// PR9350: char increment never overflows.
extern volatile signed char PR9350;