aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChristian Ulmann <christian.ulmann@nextsilicon.com>2023-08-09 12:56:04 +0000
committerChristian Ulmann <christian.ulmann@nextsilicon.com>2023-08-09 13:03:45 +0000
commitb808648ac1308cc2563fdc1fc7796da704dc1ce5 (patch)
tree85fcd598f17f31d7efb5273d43bd9421cd55c037 /clang/lib/Frontend/CompilerInvocation.cpp
parentb7e6e568b4f28124060b868e433f36af18c510db (diff)
downloadllvm-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