This revision was automatically updated to reflect the committed changes.
Closed by commit rL365706: GodeGen, NFC: Add test to track
emitStoresForConstant behavior (authored by vitalybuka, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to comm
vitalybuka marked an inline comment as done.
vitalybuka added inline comments.
Comment at: clang/test/CodeGen/init-memset.c:36
+ int a[16] = {0, 0, 1};
+ // CHECK: call void @llvm.memset.{{.*}}
+ // CHECK: store i32 1
eugenis wrote:
> Would it be useful to che
eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: clang/test/CodeGen/init-memset.c:36
+ int a[16] = {0, 0, 1};
+ // CHECK: call void @llvm.memset.{{.*}}
+ // CHECK: store i32 1
Would it
vitalybuka updated this revision to Diff 208598.
vitalybuka added a comment.
add test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64385/new/
https://reviews.llvm.org/D64385
Files:
clang/test/CodeGen/init-memset.c
Index: clang/test/CodeGen/in
vitalybuka updated this revision to Diff 208593.
vitalybuka added a comment.
format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64385/new/
https://reviews.llvm.org/D64385
Files:
clang/lib/CodeGen/CGDecl.cpp
clang/test/CodeGen/init-memset.c