| 1 |
# RUN: llc -mtriple=x86_64-unknown-unknown -run-pass=finalize-isel -verify-machineinstrs %s -o - | FileCheck %s --check-prefixes=CHECK |
| 2 |
|
| 3 |
--- | |
| 4 |
|
| 5 |
|
| 6 |
define float @check_MI_flags(float %f) { |
| 7 |
%div = fdiv nsz float 1.000000e+00, %f |
| 8 |
ret float %div |
| 9 |
} |
| 10 |
|
| 11 |
... |
| 12 |
--- |
| 13 |
name: check_MI_flags |
| 14 |
alignment: 16 |
| 15 |
exposesReturnsTwice: false |
| 16 |
legalized: false |
| 17 |
regBankSelected: false |
| 18 |
selected: false |
| 19 |
failedISel: false |
| 20 |
tracksRegLiveness: true |
| 21 |
hasWinCFI: false |
| 22 |
callsEHReturn: false |
| 23 |
callsUnwindInit: false |
| 24 |
hasEHContTarget: false |
| 25 |
hasEHScopes: false |
| 26 |
hasEHFunclets: false |
| 27 |
failsVerification: false |
| 28 |
tracksDebugUserValues: false |
| 29 |
registers: |
| 30 |
- { id: 0, class: fr32, preferred-register: '' } |
| 31 |
- { id: 1, class: fr32, preferred-register: '' } |
| 32 |
- { id: 2, class: fr32, preferred-register: '' } |
| 33 |
liveins: |
| 34 |
- { reg: '$xmm0', virtual-reg: '%0' } |
| 35 |
frameInfo: |
| 36 |
isFrameAddressTaken: false |
| 37 |
isReturnAddressTaken: false |
| 38 |
hasStackMap: false |
| 39 |
hasPatchPoint: false |
| 40 |
stackSize: 0 |
| 41 |
offsetAdjustment: 0 |
| 42 |
maxAlignment: 1 |
| 43 |
adjustsStack: false |
| 44 |
hasCalls: false |
| 45 |
stackProtector: '' |
| 46 |
functionContext: '' |
| 47 |
maxCallFrameSize: 4294967295 |
| 48 |
cvBytesOfCalleeSavedRegisters: 0 |
| 49 |
hasOpaqueSPAdjustment: false |
| 50 |
hasVAStart: false |
| 51 |
hasMustTailInVarArgFunc: false |
| 52 |
hasTailCall: false |
| 53 |
localFrameSize: 0 |
| 54 |
savePoint: [] |
| 55 |
restorePoint: [] |
| 56 |
fixedStack: [] |
| 57 |
stack: [] |
| 58 |
callSites: [] |
| 59 |
debugValueSubstitutions: [] |
| 60 |
constants: |
| 61 |
- id: 0 |
| 62 |
value: 'float 1.000000e+00' |
| 63 |
alignment: 4 |
| 64 |
isTargetSpecific: false |
| 65 |
machineFunctionInfo: {} |
| 66 |
body: | |
| 67 |
bb.0 (%ir-block.0): |
| 68 |
liveins: $xmm0 |
| 69 |
|
| 70 |
%0:fr32 = COPY $xmm0 |
| 71 |
%1:fr32 = MOVSSrm_alt $rip, 1, $noreg, %const.0, $noreg :: (load (s32) from constant-pool) |
| 72 |
%2:fr32 = nsz nofpexcept DIVSSrr %1, %0, implicit $mxcsr |
| 73 |
$xmm0 = COPY %2 |
| 74 |
RET 0, $xmm0 |
| 75 |
|
| 76 |
... |
| 77 |
|
| 78 |
|
| 79 |
|