[all-commits] [llvm/llvm-project] b01055: [IR] Reduce use of getCalledFunction in Verifier. ...
Jay Foad via All-commits
all-commits at lists.llvm.org
Wed Apr 9 08:39:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b010554d2d1fbe19091b2b3996e0477b70fcd84b
https://github.com/llvm/llvm-project/commit/b010554d2d1fbe19091b2b3996e0477b70fcd84b
Author: Jay Foad <jay.foad at amd.com>
Date: 2025-04-09 (Wed, 09 Apr 2025)
Changed paths:
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[IR] Reduce use of getCalledFunction in Verifier. NFCI. (#134978)
This is mostly just a simplification. getCalledFunction is a best-effort
thing so the verifier should not be relying on it in most cases, except
for intrinsic calls where we are guaranteed that the called function is
known, but most of those cases can be handled with
CallBase::getIntrinsicID instead.
---------
Co-authored-by: Tim Gymnich <tim at gymni.ch>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list