aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorJoe Nash <joseph.nash@amd.com>2024-06-14 09:33:03 -0400
committerGitHub <noreply@github.com>2024-06-14 09:33:03 -0400
commit7e3e9d43086d21f9996a52f0d4f24e0edeb34991 (patch)
tree1d7e40b960a17e2849d942fe44017285d9fe1eb1 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentc81d5b11cf7caf82749638752d819a061fdf4d9e (diff)
downloadllvm-7e3e9d43086d21f9996a52f0d4f24e0edeb34991.zip
llvm-7e3e9d43086d21f9996a52f0d4f24e0edeb34991.tar.gz
llvm-7e3e9d43086d21f9996a52f0d4f24e0edeb34991.tar.bz2
[AMDGPU] Change getLdStRegisterOperand to !cond for better diagnostic (#95475)
If you would hit the unexpected case in these !if trees, you'd get an error message like "error: Not a known RegisterClass! def VReg_1..." This can happen when changing code quite indirectly related to these class definitions. We can use !cond here, which has a builtin facility to throw an error if no case in the !cond statement is hit. NFC.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions