[llvm-branch-commits] [TableGen] Remove a pointless check for iPTRAny (PR #113732)
Jessica Clarke via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 25 12:41:47 PDT 2024
https://github.com/jrtc27 created https://github.com/llvm/llvm-project/pull/113732
We've already called EnforceInteger on Types[0], and iPTRAny isn't
regarded as an integer type (note that TableGen special-cases iPTR here
to include that, though), so we cannot possibly still have an iPTRAny by
this point. Delete the check, and let getFixedSizeInBits catch it along
with all the other overloaded types if that ever becomes false. Also
document why we have this check whilst here.
More information about the llvm-branch-commits
mailing list