[PATCH] D92632: [dfsan] Add a test case of storing zero

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 12:29:30 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGfa4c3f70ff07: [dfsan] Add a test case of storing zero (authored by Jianzhou Zhao <jianzhouzh at google.com>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92632/new/

https://reviews.llvm.org/D92632

Files:
  llvm/test/Instrumentation/DataFlowSanitizer/store.ll


Index: llvm/test/Instrumentation/DataFlowSanitizer/store.ll
===================================================================
--- llvm/test/Instrumentation/DataFlowSanitizer/store.ll
+++ llvm/test/Instrumentation/DataFlowSanitizer/store.ll
@@ -158,3 +158,9 @@
   store i64 %v, i64* %p
   ret void
 }
+
+define void @store_zero(i32* %p) {
+  ;  NO_COMBINE_PTR_LABEL: store i64 0, i64* {{.*}}, align 2
+  store i32 0, i32* %p
+  ret void
+}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92632.309613.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/6e6d5c3c/attachment.bin>


More information about the llvm-commits mailing list