21 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses the fast math instruction flags.3 4...5---6name: baz7body: |8 bb.0.entry:9 liveins: $eax10 11 ; CHECK: $eax = nsw ADD32rr $eax, killed $eax, implicit-def dead $eflags12 $eax = nsw ADD32rr $eax, killed $eax, implicit-def dead $eflags13 ; CHECK: $eax = nuw ADD32rr $eax, killed $eax, implicit-def dead $eflags14 $eax = nuw ADD32rr $eax, killed $eax, implicit-def dead $eflags15 ; CHECK: $eax = exact SAR32ri $eax, 1, implicit-def dead $eflags16 $eax = exact SAR32ri $eax, 1, implicit-def dead $eflags17 ; CHECK: RET 0, $eax18 RET 0, $eax19 20...21