[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / PowerPC / pr12757.ll
blobd9cb75e8f9a975f38b180edff5fb07df76803734
1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 define i32 @__flt_rounds() nounwind {
6 entry:
7   %0 = tail call i64 asm sideeffect "mffs $0", "=f"() nounwind
8   %conv = trunc i64 %0 to i32
9   ret i32 %conv
12 ; CHECK: @__flt_rounds
13 ; CHECK: mffs