[PATCH] D69129: [AMDGPU] Fix assertion due to initializer list

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 19 19:02:53 PDT 2019


rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.

Minor change, but otherwise LGTM.



================
Comment at: lib/CodeGen/CodeGenModule.cpp:3898
+    Entry = CE->stripPointerCasts();
   }
 
----------------
You can just make this whole thing `Entry = Entry->stripPointerCasts()`.


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

https://reviews.llvm.org/D69129





More information about the cfe-commits mailing list