summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/ins_subreg_coalesce-1.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-28 08:30:49 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-28 08:30:49 +0000
commit2bce5f4b56ac0ea8e452a79e13abba1deca9b7b6 (patch)
treef86e6aeed67db0106324baace2a7cac853d71de5 /test/CodeGen/X86/ins_subreg_coalesce-1.ll
parentb3a3d5e858d6613d24a23056bf8b4ce80dcaec41 (diff)
downloadllvm-2bce5f4b56ac0ea8e452a79e13abba1deca9b7b6.tar.gz
llvm-2bce5f4b56ac0ea8e452a79e13abba1deca9b7b6.tar.bz2
llvm-2bce5f4b56ac0ea8e452a79e13abba1deca9b7b6.tar.xz
Enable i16 to i32 promotion by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/ins_subreg_coalesce-1.ll')
-rw-r--r--test/CodeGen/X86/ins_subreg_coalesce-1.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/ins_subreg_coalesce-1.ll b/test/CodeGen/X86/ins_subreg_coalesce-1.ll
index 2243f93f3d..83674361a7 100644
--- a/test/CodeGen/X86/ins_subreg_coalesce-1.ll
+++ b/test/CodeGen/X86/ins_subreg_coalesce-1.ll
@@ -1,7 +1,13 @@
-; RUN: llc < %s -march=x86 | grep mov | count 3
+; RUN: llc < %s -march=x86 | FileCheck %s
-define fastcc i32 @sqlite3ExprResolveNames() nounwind {
+define fastcc i32 @t() nounwind {
entry:
+; CHECK: t:
+; CHECK: movzwl 0, %eax
+; CHECK: orl $2, %eax
+; CHECK: movw %ax, 0
+; CHECK: shrl $3, %eax
+; CHECK: andl $1, %eax
br i1 false, label %UnifiedReturnBlock, label %bb4
bb4: ; preds = %entry
br i1 false, label %bb17, label %bb22