aboutsummaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-06-14 15:07:27 +0100
committerGitHub <noreply@github.com>2024-06-14 15:07:27 +0100
commit094572701dce4aaf36f4521d6cf750420d39f206 (patch)
treea8042189d9b67f197423b6ea403dd365f5400476 /polly
parent6b4760acc73394f841fb66bfd04c501826f5c7f7 (diff)
downloadllvm-094572701dce4aaf36f4521d6cf750420d39f206.zip
llvm-094572701dce4aaf36f4521d6cf750420d39f206.tar.gz
llvm-094572701dce4aaf36f4521d6cf750420d39f206.tar.bz2
[RemoveDIs] Print IR with debug records by default (#91724)
This patch makes the final major change of the RemoveDIs project, changing the default IR output from debug intrinsics to debug records. This is expected to break a large number of tests: every single one that tests for uses or declarations of debug intrinsics and does not explicitly disable writing records. If this patch has broken your downstream tests (or upstream tests on a configuration I wasn't able to run): 1. If you need to immediately unblock a build, pass `--write-experimental-debuginfo=false` to LLVM's option processing for all failing tests (remember to use `-mllvm` for clang/flang to forward arguments to LLVM). 2. For most test failures, the changes are trivial and mechanical, enough that they can be done by script; see the migration guide for a guide on how to do this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates 3. If any tests fail for reasons other than FileCheck check lines that need updating, such as assertion failures, that is most likely a real bug with this patch and should be reported as such. For more information, see the recent PSA: https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578
Diffstat (limited to 'polly')
-rw-r--r--polly/test/CodeGen/debug-intrinsics.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/CodeGen/debug-intrinsics.ll b/polly/test/CodeGen/debug-intrinsics.ll
index 25c63da..65fa678 100644
--- a/polly/test/CodeGen/debug-intrinsics.ll
+++ b/polly/test/CodeGen/debug-intrinsics.ll
@@ -42,11 +42,11 @@ for.end: ; preds = %for.cond.for.end_cr
; CHECK: polly.split_new_and_old:
-; CHECK: tail call void @llvm.dbg.value
-; CHECK: tail call void @llvm.dbg.value
-; CHECK: tail call void @llvm.dbg.value
-; CHECK: tail call void @llvm.dbg.value
-; CHECK-NOT: tail call void @llvm.dbg.value
+; CHECK: #dbg_value
+; CHECK: #dbg_value
+; CHECK: #dbg_value
+; CHECK: #dbg_value
+; CHECK-NOT: #dbg_value
; Function Attrs: nounwind readnone
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1