1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=riscv32 -mattr=+zbb | FileCheck %s
4 define i32 @f(i32 %x) {
7 ; CHECK-NEXT: rori a0, a0, 27
8 ; CHECK-NEXT: ori a0, a0, 32
9 ; CHECK-NEXT: andi a0, a0, -31
12 %sh1 = shl i32 %or1, 5
13 %sh2 = lshr i32 %x, 27