diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-12-16 10:49:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 10:49:08 +0900 |
commit | bb18e49edb2c4bbb7dd70ee0b5946598822a4e2a (patch) | |
tree | a0827b94bb291c3d84f0058712d9245aa8450124 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 73eecb70c2abb1c6149647ec213cb9312c398569 (diff) | |
download | llvm-bb18e49edb2c4bbb7dd70ee0b5946598822a4e2a.zip llvm-bb18e49edb2c4bbb7dd70ee0b5946598822a4e2a.tar.gz llvm-bb18e49edb2c4bbb7dd70ee0b5946598822a4e2a.tar.bz2 |
RegAlloc: Use DiagnosticInfo to report register allocation failures (#119492)
Improve the non-fatal cases to use DiagnosticInfo, which will now
provide a location. The allocators attempt to report different errors
if it happens to see inline assembly is involved (this detection is
quite unreliable) using srcloc instead of dbgloc. For now, leave this
behavior unchanged. I think reporting the full location and context
function would be more useful.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions