summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/memset-nonzero.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-24 02:11:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-24 02:11:18 +0000
commit432a587cf00b3ecb552750f0f4dbd830e18f500c (patch)
tree6f3ee8640c51d21d68de3e22872f302da18a00a1 /llvm/test/CodeGen/X86/memset-nonzero.ll
parenta277d024f7a7c00796344105dbe0f5c427383158 (diff)
downloadbcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.tar.gz
bcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.zip
Don't assume a null GV is local for ELF and MachO.
This is already a simplification, and should help with avoiding a plt reference when calling an intrinsic with -fno-plt. With this change we return false for null GVs, so the caller only needs to check the new metadata to decide if it should use foo@plt or *foo@got. llvm-svn: 323297
Diffstat (limited to 'llvm/test/CodeGen/X86/memset-nonzero.ll')
-rw-r--r--llvm/test/CodeGen/X86/memset-nonzero.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/memset-nonzero.ll b/llvm/test/CodeGen/X86/memset-nonzero.ll
index 37b98b40192..e7192b0e136 100644
--- a/llvm/test/CodeGen/X86/memset-nonzero.ll
+++ b/llvm/test/CodeGen/X86/memset-nonzero.ll
@@ -394,7 +394,7 @@ define void @memset_256_nonconst_bytes(i8* %x, i8 %c) {
; SSE-LABEL: memset_256_nonconst_bytes:
; SSE: # %bb.0:
; SSE-NEXT: movl $256, %edx # imm = 0x100
-; SSE-NEXT: jmp memset # TAILCALL
+; SSE-NEXT: jmp memset@PLT # TAILCALL
;
; SSE2FAST-LABEL: memset_256_nonconst_bytes:
; SSE2FAST: # %bb.0:
OpenPOWER on IntegriCloud