[PATCH] D137630: [IR] Don't assume readnone/readonly intrinsics are willreturn

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 03:53:45 PST 2022


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:458
+    case Intrinsic::ptrauth_auth:
+    case Intrinsic::ptrauth_resign:
+      return true;
----------------
These are intrinsics for which the current readnone -> willreturn assumption is incorrect, but optimizations currently rely on it. Needs to be addressed in a followup.


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

https://reviews.llvm.org/D137630



More information about the llvm-commits mailing list