1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s | FileCheck %s 3 4target triple = "wasm32-unknown-unknown" 5 6; From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25150 7define 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 15; CHECK-NEXT: i64.and 16; CHECK-NEXT: # fallthrough-return 17 %b = tail call i33 @llvm.fshr.i33(i33 %a, i33 %a, i33 1) 18 %e = and i33 %b, 31 19 ret i33 %e 20} 21 22declare i33 @llvm.fshr.i33(i33, i33, i33) 23