[PATCH] D123693: Transform illegal intrinsics to V_ILLEGAL
Leon Clark via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 01:15:17 PDT 2022
Leonc added a comment.
In D123693#3580812 <https://reviews.llvm.org/D123693#3580812>, @foad wrote:
> Where's the rationale? Surely unsupported intrinsics //should// fail to select, and perhaps be diagnosed even earlier?
Normally yes. The issue is our libraries contain code for all targets. We rely on dead code elimination to remove illegal intrinsics, but that doesn't happen on -O0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123693/new/
https://reviews.llvm.org/D123693
More information about the llvm-commits
mailing list