1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=aarch64-unknown-linux-gnu | FileCheck %s
4 define i32 @f(i32 %x) {
7 ; CHECK-NEXT: orr w8, w0, #0x1
8 ; CHECK-NEXT: extr w8, w8, w0, #27
9 ; CHECK-NEXT: and w0, w8, #0xffffffe1
12 %sh1 = shl i32 %or1, 5
13 %sh2 = lshr i32 %x, 27