summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vector-half-conversions.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-19 16:02:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-19 16:02:38 +0000
commitc7e51805ff52e84594b0514d5bdf31579434b80c (patch)
tree8b16479bcae90b6f88b97cbdc450ee5a78b8bbdd /llvm/test/CodeGen/X86/vector-half-conversions.ll
parent9c5ac63785b5aac0c85b57637409869b27983bfe (diff)
downloadbcm5719-llvm-c7e51805ff52e84594b0514d5bdf31579434b80c.tar.gz
bcm5719-llvm-c7e51805ff52e84594b0514d5bdf31579434b80c.zip
Bring back r323297.
It was reverted because it broke the grub build. The reason the grub build broke is because grub does its own relocation processing and was not handing R_386_PLT32. Since grub has no dynamic linker, the fix is trivial: handle R_386_PLT32 exactly like R_386_PC32. On the report it was noted that they are using -fno-integrated-assembler. The upstream GAS (starting with 451875b4f976a527395e9303224c7881b65e12ed) will already be producing a R_386_PLT32 anyway, so they have to update their code one way or the other Original message: 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: 325514
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-half-conversions.ll')
-rw-r--r--llvm/test/CodeGen/X86/vector-half-conversions.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/vector-half-conversions.ll b/llvm/test/CodeGen/X86/vector-half-conversions.ll
index 94dc5b9e001..51a4dae355e 100644
--- a/llvm/test/CodeGen/X86/vector-half-conversions.ll
+++ b/llvm/test/CodeGen/X86/vector-half-conversions.ll
@@ -2953,7 +2953,7 @@ define void @store_cvt_16f32_to_16i16(<16 x float> %a0, <16 x i16>* %a1) nounwin
define i16 @cvt_f64_to_i16(double %a0) nounwind {
; ALL-LABEL: cvt_f64_to_i16:
; ALL: # %bb.0:
-; ALL-NEXT: jmp __truncdfhf2 # TAILCALL
+; ALL-NEXT: jmp __truncdfhf2@PLT # TAILCALL
%1 = fptrunc double %a0 to half
%2 = bitcast half %1 to i16
ret i16 %2
OpenPOWER on IntegriCloud