summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-09-08 23:35:10 +0000
committerHans Wennborg <hans@hanshq.net>2016-09-08 23:35:10 +0000
commitc39ef776fcf7360de7ff7b7eb2e63cd3c580dd3b (patch)
tree0b8e064ab878722e45cd5951edb851b49bdf4c3b /llvm/test/DebugInfo
parentf205a274c4cdcab2635406471cab9b540aeb3b4a (diff)
downloadbcm5719-llvm-c39ef776fcf7360de7ff7b7eb2e63cd3c580dd3b.tar.gz
bcm5719-llvm-c39ef776fcf7360de7ff7b7eb2e63cd3c580dd3b.zip
Win64: Don't use REX prefix for direct tail calls
The REX prefix should be used on indirect jmps, but not direct ones. For direct jumps, the unwinder looks at the offset to determine if it's inside the current function. Differential Revision: https://reviews.llvm.org/D24359 llvm-svn: 281003
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/COFF/register-variables.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/COFF/register-variables.ll b/llvm/test/DebugInfo/COFF/register-variables.ll
index 9bb782853a3..5392ea6238e 100644
--- a/llvm/test/DebugInfo/COFF/register-variables.ll
+++ b/llvm/test/DebugInfo/COFF/register-variables.ll
@@ -54,7 +54,7 @@
; ASM: addq $32, %rsp
; ASM: popq %rsi
; ASM: [[func_end:\.Ltmp.*]]:
-; ASM: rex64 jmp putint # TAILCALL
+; ASM: jmp putint # TAILCALL
; ASM: .short 4414 # Record kind: S_LOCAL
; ASM: .asciz "p"
OpenPOWER on IntegriCloud