summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
diff options
context:
space:
mode:
authorKevin B. Smith <kevin.b.smith@intel.com>2016-02-22 01:27:56 +0000
committerKevin B. Smith <kevin.b.smith@intel.com>2016-02-22 01:27:56 +0000
commit47e64abe1a0c5ee4e8e16ff837e1423a102acb0b (patch)
tree6083bd1636af68ca3d9aada6e49690bdf7e25d0a /llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
parentdc0848c0293d798fecd4d02273cf98e84dc95866 (diff)
downloadbcm5719-llvm-47e64abe1a0c5ee4e8e16ff837e1423a102acb0b.tar.gz
bcm5719-llvm-47e64abe1a0c5ee4e8e16ff837e1423a102acb0b.zip
[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
Diffstat (limited to 'llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll')
-rw-r--r--llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll6
1 files changed, 4 insertions, 2 deletions
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 ; <double*> [#uses=1]
OpenPOWER on IntegriCloud