[DebugInfo] Turn instruction referencing on by default for x86

This patch is designed to be reverted -- it activates a reasonably large
block of new-ish code, so some turbulence is likely.

Instruction referencing is best summarised, and it being on-by-default,
is discussed here:

    https://lists.llvm.org/pipermail/llvm-dev/2021-November/153653.html

Differential Revision: https://reviews.llvm.org/D114631
This commit is contained in:
Jeremy Morse 2021-11-30 12:41:59 +00:00
parent 9a86eb5602
commit 3c04507088
2 changed files with 2 additions and 4 deletions

View File

@ -699,5 +699,7 @@ void codegen::setFunctionAttributes(StringRef CPU, StringRef Features,
}
bool codegen::getDefaultValueTrackingVariableLocations(const llvm::Triple &T) {
if (T.getArch() == llvm::Triple::x86_64)
return true;
return false;
}

View File

@ -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