2 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext %s -output-prefix %t-notype -bugpoint-crashmetadata -silence-passes > /dev/null
3 ; RUN: llvm-dis %t-notype-reduced-simplified.bc -o - | FileCheck %s
5 ; Make sure BugPoint retains metadata contributing to a crash.
7 ; CHECK-LABEL: define void @test2(float %f) {
8 ; CHECK-NEXT: %arg = fadd float %f, 1.000000e+01
10 ; CHECK-NEXT: %x = call float @llvm.fabs.f32(float %arg), !fpmath [[FPMATH:![0-9]+]]
11 ; CHECK-NEXT: ret void
13 ; CHECK: [[FPMATH]] = !{float 2.500000e+00}
14 define void @test2(float %f) {
15 %arg = fadd float %f, 1.000000e+01, !fpmath !0
16 %x = call float @llvm.fabs.f32(float %arg), !fpmath !0
20 declare float @llvm.fabs.f32(float)
22 !0 = !{float 2.500000e+00}