diff options
author | Nikita Popov <npopov@redhat.com> | 2024-05-30 11:44:13 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-05-30 11:47:07 +0200 |
commit | b2bd024384b484647da9fd9863bf6f77b5731949 (patch) | |
tree | 365c0359b8e89bb21cc0934471b5140ccb7baaec /clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp | |
parent | 3fee8b346928a24975ebbd6984b583c01ec82955 (diff) | |
download | llvm-b2bd024384b484647da9fd9863bf6f77b5731949.zip llvm-b2bd024384b484647da9fd9863bf6f77b5731949.tar.gz llvm-b2bd024384b484647da9fd9863bf6f77b5731949.tar.bz2 |
[CGExprAgg] Don't create zero index GEP
With opaque pointers, we no longer need a zero-index GEP to get
the first element.
Diffstat (limited to 'clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp b/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp index d97a931..aa2f078 100644 --- a/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp +++ b/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp @@ -131,7 +131,6 @@ void fn1(int i) { // CHECK-NEXT: store // init the list // CHECK-NEXT: getelementptr - // CHECK-NEXT: getelementptr inbounds [3 x i32], ptr // CHECK-NEXT: store ptr // CHECK-NEXT: getelementptr // CHECK-NEXT: store i{{32|64}} 3 |