aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/phys-reg-local-regalloc.ll
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-03 01:40:33 +0000
committerDale Johannesen <dalej@apple.com>2010-02-03 01:40:33 +0000
commit9a6636b2cdb2be054850d69619504058f7c8ed91 (patch)
tree23b2b277219d730be38bde21e0eb6da12fc24f46 /test/CodeGen/X86/phys-reg-local-regalloc.ll
parent850d2e2a1b58ea30abed10ca955259d60d07d97a (diff)
downloadexternal_llvm-9a6636b2cdb2be054850d69619504058f7c8ed91.zip
external_llvm-9a6636b2cdb2be054850d69619504058f7c8ed91.tar.gz
external_llvm-9a6636b2cdb2be054850d69619504058f7c8ed91.tar.bz2
Reapply 95050 with a tweak to check the register class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/phys-reg-local-regalloc.ll')
-rw-r--r--test/CodeGen/X86/phys-reg-local-regalloc.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/X86/phys-reg-local-regalloc.ll b/test/CodeGen/X86/phys-reg-local-regalloc.ll
index e5e2d4b..045841e 100644
--- a/test/CodeGen/X86/phys-reg-local-regalloc.ll
+++ b/test/CodeGen/X86/phys-reg-local-regalloc.ll
@@ -1,4 +1,6 @@
; RUN: llc < %s -march=x86 -mtriple=i386-apple-darwin9 -regalloc=local | FileCheck %s
+; RUN: llc -O0 < %s -march=x86 -mtriple=i386-apple-darwin9 -regalloc=local | FileCheck %s
+; CHECKed instructions should be the same with or without -O0.
@.str = private constant [12 x i8] c"x + y = %i\0A\00", align 1 ; <[12 x i8]*> [#uses=1]