Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin
      2 ; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=armv7-linux-gnueabi
      3 ; rdar://9515076
      4 ; (Make sure this doesn't crash.)
      5 
      6 define i32 @test(i32 %i) {
      7   %t = trunc i32 %i to i4
      8   %r = sext i4 %t to i32
      9   ret i32 %r
     10 }
     11