[PATCH] D114631: [DebugInfo][InstrRef] Turn instruction referencing on by default for x86
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 30 05:44:33 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3c045070882f: [DebugInfo] Turn instruction referencing on by default for x86 (authored by jmorse).
Changed prior to commit:
https://reviews.llvm.org/D114631?vs=390003&id=390673#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114631/new/
https://reviews.llvm.org/D114631
Files:
llvm/lib/CodeGen/CommandFlags.cpp
llvm/test/DebugInfo/X86/instr-ref-flag.ll
Index: llvm/test/DebugInfo/X86/instr-ref-flag.ll
===================================================================
--- llvm/test/DebugInfo/X86/instr-ref-flag.ll
+++ llvm/test/DebugInfo/X86/instr-ref-flag.ll
@@ -13,10 +13,6 @@
;; by llc by default, and that it can be turned explicitly on or off as
;; desired.
-;; XFail it for pre-landing the patch, and to allow a minimal delta if it
-;; has to be reverted.
-; XFAIL: *
-
; INSTRREFON: DBG_INSTR_REF
; INSTRREFOFF: DBG_VALUE
Index: llvm/lib/CodeGen/CommandFlags.cpp
===================================================================
--- llvm/lib/CodeGen/CommandFlags.cpp
+++ llvm/lib/CodeGen/CommandFlags.cpp
@@ -699,5 +699,7 @@
}
bool codegen::getDefaultValueTrackingVariableLocations(const llvm::Triple &T) {
+ if (T.getArch() == llvm::Triple::x86_64)
+ return true;
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114631.390673.patch
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211130/38cf18fb/attachment.bin>
More information about the llvm-commits
mailing list