Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mcpu=atom | FileCheck %s
      2 
      3 ; ModuleID = 'bugpoint-reduced-simplified.bc'
      4 target triple = "x86_64-apple-darwin12.5.0"
      5 
      6 define i32 @DoLayout() {
      7 entry:
      8   %tmp1 = load i16, i16* undef, align 2
      9   %tmp17 = load i16, i16* null, align 2
     10   %tmp19 = load i16, i16* undef, align 2
     11   %shl = shl i16 %tmp19, 1
     12   %add55 = add i16 %tmp17, %tmp1
     13   %add57 = add i16 %add55, %shl
     14   %conv60 = zext i16 %add57 to i32
     15   %add61 = add nsw i32 %conv60, 0
     16   %conv63 = and i32 %add61, 65535
     17   ret i32 %conv63
     18 ; CHECK: addw
     19 }
     20