23 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s | FileCheck %s3 4target triple = "wasm32-unknown-unknown"5 6; From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=251507define 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 012; CHECK-NEXT: i64.const 113; CHECK-NEXT: i64.shr_u14; CHECK-NEXT: i64.const 3115; CHECK-NEXT: i64.and16; CHECK-NEXT: # fallthrough-return17 %b = tail call i33 @llvm.fshr.i33(i33 %a, i33 %a, i33 1)18 %e = and i33 %b, 3119 ret i33 %e20}21 22declare i33 @llvm.fshr.i33(i33, i33, i33)23