diff options
author | Will Dietz <wdietz2@illinois.edu> | 2013-11-08 01:09:22 +0000 |
---|---|---|
committer | Will Dietz <wdietz2@illinois.edu> | 2013-11-08 01:09:22 +0000 |
commit | 949ec546c4414b879d565ac3cc7ac4487ed0ec76 (patch) | |
tree | d590a37b01b99739cb5fce880a7f35d394a1b1a3 /clang/test/CodeGen/compound-assign-overflow.c | |
parent | 0dc0e6d32ce48a3978c7bcc1ef949f5e5678e7d1 (diff) | |
download | llvm-949ec546c4414b879d565ac3cc7ac4487ed0ec76.zip llvm-949ec546c4414b879d565ac3cc7ac4487ed0ec76.tar.gz llvm-949ec546c4414b879d565ac3cc7ac4487ed0ec76.tar.bz2 |
ubsan: Only emit constants for filenames and type descriptors once.
Produces neater IR in significantly less time.
(~18% faster -O0 compile time for sqlite3 with -fsanitize=undefined)
llvm-svn: 194231
Diffstat (limited to 'clang/test/CodeGen/compound-assign-overflow.c')
-rw-r--r-- | clang/test/CodeGen/compound-assign-overflow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGen/compound-assign-overflow.c b/clang/test/CodeGen/compound-assign-overflow.c index e82061b..1533429 100644 --- a/clang/test/CodeGen/compound-assign-overflow.c +++ b/clang/test/CodeGen/compound-assign-overflow.c @@ -7,8 +7,7 @@ // CHECK: @[[LINE_100:.*]] = private unnamed_addr global {{.*}}, i32 100, i32 5 {{.*}} @[[INT]] // CHECK: @[[UINT:.*]] = private unnamed_addr constant { i16, i16, [15 x i8] } { i16 0, i16 10, [15 x i8] c"'unsigned int'\00" } // CHECK: @[[LINE_200:.*]] = private unnamed_addr global {{.*}}, i32 200, i32 5 {{.*}} @[[UINT]] -// CHECK: @[[DIVINT:.*]] = private unnamed_addr constant { i16, i16, [6 x i8] } { i16 0, i16 11, [6 x i8] c"'int'\00" } -// CHECK: @[[LINE_300:.*]] = private unnamed_addr global {{.*}}, i32 300, i32 5 {{.*}} @[[DIVINT]] +// CHECK: @[[LINE_300:.*]] = private unnamed_addr global {{.*}}, i32 300, i32 5 {{.*}} @[[INT]] int32_t x; |