diff options
author | Jessica Clarke <jrtc27@jrtc27.com> | 2024-10-30 03:19:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 03:19:53 +0000 |
commit | e8b7f53fa4dc8a9f74a3d67dfb89eb68fcd78679 (patch) | |
tree | a1b2e1fa8b606c04723b412b940b74ed0f011d94 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | ef455e6b16334128c008fc57a4d8ace701934e80 (diff) | |
download | llvm-e8b7f53fa4dc8a9f74a3d67dfb89eb68fcd78679.zip llvm-e8b7f53fa4dc8a9f74a3d67dfb89eb68fcd78679.tar.gz llvm-e8b7f53fa4dc8a9f74a3d67dfb89eb68fcd78679.tar.bz2 |
[TableGen] Remove a pointless check for iPTRAny
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.
Reviewers: arsenm
Reviewed By: arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/113732
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions