[llvm] fd4d298 - [ARM] Add targets for Arm DebugInfo tests. NFC
David Green via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 19 11:13:46 PST 2023
Author: David Green
Date: 2023-02-19T19:13:41Z
New Revision: fd4d29808efad739778caafa30765d83f82d99ba
URL: https://github.com/llvm/llvm-project/commit/fd4d29808efad739778caafa30765d83f82d99ba
DIFF: https://github.com/llvm/llvm-project/commit/fd4d29808efad739778caafa30765d83f82d99ba.diff
LOG: [ARM] Add targets for Arm DebugInfo tests. NFC
This prevents the instructions being invalid for the subtarget.
Added:
Modified:
llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir
llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir
llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
index 3c962a58b249c..e82a75016e2f6 100644
--- a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
+++ b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
@@ -79,7 +79,7 @@
; Function Attrs: nounwind
declare void @llvm.stackprotector(i8*, i8**) #0
- attributes #0 = { nounwind }
+ attributes #0 = { nounwind "target-features"="+v8m" }
attributes #1 = { nounwind readnone speculatable }
attributes #2 = { nounwind readnone }
diff --git a/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir b/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir
index 8f7f789eb8fb7..e6a1e267ecba5 100644
--- a/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir
+++ b/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovd.mir
@@ -37,7 +37,7 @@
declare void @llvm.dbg.value(metadata, metadata, metadata)
declare void @llvm.stackprotector(i8*, i8**)
- attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" }
+ attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" "target-features"="+thumb-mode,+vfp2" }
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!10, !11, !12, !13, !14}
diff --git a/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir b/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir
index e3f1031796a04..8bfb0cdc1a00c 100644
--- a/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir
+++ b/llvm/test/DebugInfo/MIR/ARM/call-site-info-vmovs.mir
@@ -31,7 +31,7 @@
declare void @llvm.dbg.value(metadata, metadata, metadata)
declare void @llvm.stackprotector(i8*, i8**)
- attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" }
+ attributes #0 = { "disable-tail-calls"="false" "frame-pointer"="all" "target-features"="+thumb-mode,+vfp2" }
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!10, !11, !12, !13, !14}
diff --git a/llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir b/llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
index 2efb62ddbf682..0ba0b78203ef2 100644
--- a/llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
+++ b/llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
@@ -80,7 +80,7 @@
; Function Attrs: nounwind
declare void @llvm.stackprotector(i8*, i8**)
- attributes #0 = { "frame-pointer"="all"}
+ attributes #0 = { "frame-pointer"="all" "target-features"="+armv7-a" }
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!9, !10, !11, !12}
More information about the llvm-commits
mailing list