From 47e64abe1a0c5ee4e8e16ff837e1423a102acb0b Mon Sep 17 00:00:00 2001 From: "Kevin B. Smith" Date: Mon, 22 Feb 2016 01:27:56 +0000 Subject: [X86] More test updates to support fixup-byte-word-insts optimization either on or off. Differential Revisions: http://reviews.llvm.org/D17458 llvm-svn: 261505 --- llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll') diff --git a/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll b/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll index de95e7925f0..581fae26902 100644 --- a/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll +++ b/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll @@ -1,9 +1,11 @@ -; RUN: llc < %s -march=x86 | FileCheck %s +; RUN: llc < %s -march=x86 -fixup-byte-word-insts=0 | FileCheck %s -check-prefix=CHECK -check-prefix=BWOFF +; RUN: llc < %s -march=x86 -fixup-byte-word-insts=1 | FileCheck %s -check-prefix=CHECK -check-prefix=BWON ; These transforms are turned off for load volatiles and stores. ; Check that they weren't turned off for all loads and stores! ; CHECK-LABEL: f: ; CHECK-NOT: movsd -; CHECK: movw +; BWOFF: movw +; BWON: movzwl ; CHECK: addw @atomic = global double 0.000000e+00 ; [#uses=1] -- cgit v1.2.3