Skip to content

Commit ad31366

Browse files
authored
[X86] Move X86ISD::FP_TO_SINT_SAT/FP_TO_UINT_SAT outside of the MEMORY_OPCODE enum block (#140272)
Move to closer to the other regular conversion opcodes Fixes #140271
1 parent 01bf2d7 commit ad31366

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/X86/X86ISelLowering.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,10 @@ namespace llvm {
724724
MCVTSI2P,
725725
MCVTUI2P,
726726

727+
// Custom handling for FP_TO_xINT_SAT
728+
FP_TO_SINT_SAT,
729+
FP_TO_UINT_SAT,
730+
727731
// Vector float to bfloat16.
728732
// Convert packed single data to packed BF16 data
729733
CVTNEPS2BF16,
@@ -917,10 +921,6 @@ namespace llvm {
917921
// Load x87 FPU environment from memory.
918922
FLDENVm,
919923

920-
// Custom handling for FP_TO_xINT_SAT
921-
FP_TO_SINT_SAT,
922-
FP_TO_UINT_SAT,
923-
924924
/// This instruction implements FP_TO_SINT with the
925925
/// integer destination in memory and a FP reg source. This corresponds
926926
/// to the X86::FIST*m instructions and the rounding mode change stuff. It

0 commit comments

Comments
 (0)