[llvm] ad31366 - [X86] Move X86ISD::FP_TO_SINT_SAT/FP_TO_UINT_SAT outside of the MEMORY_OPCODE enum block (#140272)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 18 06:27:15 PDT 2025
Author: Simon Pilgrim
Date: 2025-05-18T14:27:12+01:00
New Revision: ad3136689090f79b52afcb5a95ec87e893006877
URL: https://github.com/llvm/llvm-project/commit/ad3136689090f79b52afcb5a95ec87e893006877
DIFF: https://github.com/llvm/llvm-project/commit/ad3136689090f79b52afcb5a95ec87e893006877.diff
LOG: [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
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h
index 662552a972249..00917115e9df2 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.h
+++ b/llvm/lib/Target/X86/X86ISelLowering.h
@@ -724,6 +724,10 @@ namespace llvm {
MCVTSI2P,
MCVTUI2P,
+ // Custom handling for FP_TO_xINT_SAT
+ FP_TO_SINT_SAT,
+ FP_TO_UINT_SAT,
+
// Vector float to bfloat16.
// Convert packed single data to packed BF16 data
CVTNEPS2BF16,
@@ -917,10 +921,6 @@ namespace llvm {
// Load x87 FPU environment from memory.
FLDENVm,
- // Custom handling for FP_TO_xINT_SAT
- FP_TO_SINT_SAT,
- FP_TO_UINT_SAT,
-
/// This instruction implements FP_TO_SINT with the
/// integer destination in memory and a FP reg source. This corresponds
/// to the X86::FIST*m instructions and the rounding mode change stuff. It
More information about the llvm-commits
mailing list