Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-sext.ll
1 ; RUN: llc -mtriple=x86_64-linux -fast-isel -show-mc-encoding < %s | FileCheck %s
2
3 ; CHECK-LABEL: f:
4 ; CHECK:       addl $-2, %eax         # encoding: [0x83,0xc0,0xfe]
5 define i32 @f(i32* %y) {
6   %x = load i32, i32* %y
7   %dec = add i32 %x, -2
8   ret i32 %dec
9 }