1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s | FileCheck %s
4 target triple = "wasm32-unknown-unknown"
6 ; From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25150
7 define i33 @fshr_multi_use(i33 %a) {
8 ; CHECK-LABEL: fshr_multi_use:
9 ; CHECK: .functype fshr_multi_use (i64) -> (i64)
10 ; CHECK-NEXT: # %bb.0:
11 ; CHECK-NEXT: local.get 0
12 ; CHECK-NEXT: i64.const 1
13 ; CHECK-NEXT: i64.shr_u
14 ; CHECK-NEXT: i64.const 31
16 ; CHECK-NEXT: # fallthrough-return
17 %b = tail call i33 @llvm.fshr.i33(i33 %a, i33 %a, i33 1)
22 declare i33 @llvm.fshr.i33(i33, i33, i33)