[PATCH] D51794: AMDGPU: Don't error on calls to null or undef

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 19 00:20:25 PDT 2019


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

I think I've seen calls which should be undef recently, but should stay in a dead code. This is the way our library works, and recently the same behavior seems to appear normal with hcc. It is still a fuzzy logic, but that is way we are handling differences between targets, so let it be.

I would still want to emit a call to an error reporting function though. Although I understand that is difficult to emit a good error from a GPU RT.


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

https://reviews.llvm.org/D51794





More information about the llvm-commits mailing list