[PATCH] D53666: [Tests] Updated tests for D53342

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 24 13:04:05 PDT 2018


efriedma added inline comments.


================
Comment at: test/CodeGenOpenCL/amdgpu-nullptr.cl:513
 // CHECK-LABEL: test_memset_private
-// CHECK: call void @llvm.memset.p5i8.i64(i8 addrspace(5)* align 8 {{.*}}, i8 0, i64 40, i1 false)
+// CHECK: call void @llvm.memset.p5i8.i64(i8 addrspace(5)* nonnull align 8 {{.*}}, i8 0, i64 40, i1 false)
 void test_memset_private(private StructTy3 *ptr) {
----------------
This shouldn't change.  "null" pointers are potentially valid in non-zero address-spaces.  (Sorry, I should have spotted this sooner.)


Repository:
  rC Clang

https://reviews.llvm.org/D53666





More information about the cfe-commits mailing list