1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 @m = external global i32, align 4
7 ; Function Attrs: nounwind
8 define signext i32 @main() #0 {
15 %0 = load i32, i32* @m, align 4
17 store i32 %or, i32* @m, align 4
18 %and = and i32 %or, 249
19 %sub.i = sub i32 %and, 0
20 %sext = shl i32 %sub.i, 24
21 %conv = ashr exact i32 %sext, 24
25 attributes #0 = { nounwind "target-cpu"="pwr7" }
26 attributes #1 = { nounwind }