diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2025-05-07 14:13:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-07 14:13:25 +0200 |
commit | c22081c320340d0e7542b247ee093ca515509b52 (patch) | |
tree | 943ab75ac4932d272655972c21f93bc165700ced /clang/lib/CodeGen/BackendUtil.cpp | |
parent | c3a638caabf96fedce09f4b58b4ba550a015e150 (diff) | |
download | llvm-c22081c320340d0e7542b247ee093ca515509b52.zip llvm-c22081c320340d0e7542b247ee093ca515509b52.tar.gz llvm-c22081c320340d0e7542b247ee093ca515509b52.tar.bz2 |
[GlobalISel] Diagnose inline assembly constraint lowering errors (#135782)
Instead of printing something to dbgs (which is not visible to all users),
emit a diagnostic like the DAG does. We still crash later because we fail to
select the inline assembly, but at least now users will know why it's crashing.
In a future patch we could also recover from the error like the DAG does, so the
lowering can keep going until it either crashes or gives a different error later.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions