diff options
author | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-08-09 12:56:04 +0000 |
---|---|---|
committer | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-08-09 13:03:45 +0000 |
commit | b808648ac1308cc2563fdc1fc7796da704dc1ce5 (patch) | |
tree | 85fcd598f17f31d7efb5273d43bd9421cd55c037 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b7e6e568b4f28124060b868e433f36af18c510db (diff) | |
download | llvm-b808648ac1308cc2563fdc1fc7796da704dc1ce5.zip llvm-b808648ac1308cc2563fdc1fc7796da704dc1ce5.tar.gz llvm-b808648ac1308cc2563fdc1fc7796da704dc1ce5.tar.bz2 |
[mlir][LLVM] Delay debug intrinsic import to ensure dominance
This commit ensures that debug intrinsics are imported after all other
instructions of a function were imported.
Debug intrinsics in LLVM are excluded from the define-before-use
invariant, i.e., they can reference SSA values that do not dominate
them. So far, we had implemented checks to stop the import of such
intrinsics, but there were always additional cases that were not
covered (the latest being terminators that define such used values).
Reviewed By: gysit, zero9178
Differential Revision: https://reviews.llvm.org/D157496
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions