summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/half.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/half.ll')
-rw-r--r--llvm/test/CodeGen/X86/half.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/half.ll b/llvm/test/CodeGen/X86/half.ll
index 4c164b58bfe..9a9fb582055 100644
--- a/llvm/test/CodeGen/X86/half.ll
+++ b/llvm/test/CodeGen/X86/half.ll
@@ -19,7 +19,8 @@ define void @test_load_store(half* %in, half* %out) {
define i16 @test_bitcast_from_half(half* %addr) {
; CHECK-LABEL: test_bitcast_from_half:
-; CHECK: movzwl (%rdi), %eax
+; BWON: movzwl (%rdi), %eax
+; BWOFF: movw (%rdi), %ax
%val = load half, half* %addr
%val_int = bitcast half %val to i16
ret i16 %val_int
OpenPOWER on IntegriCloud