From 96af1ff4003d4c81d5cf16fd628dbd6e2d963e70 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 30 Oct 2024 12:06:32 -0700 Subject: [PATCH] [RISCV] Sink hasPostISelHook = 1 for vector pseudos into the subclasses that set HasRoundModeOp. I think this is NFC, but right now it does change the flag for the pseudos removed by #114287. The rounding mode for those pseudos should never be DYN so the post isel hook shouldn't do anything, but it will get called. --- .../Target/RISCV/RISCVInstrInfoVPseudos.td | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td index d5b0fa340684b..334b5045b4719 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td @@ -1074,6 +1074,7 @@ class VPseudoUnaryNoMaskRoundingMode LMUL, @@ -1424,6 +1431,7 @@ class VPseudoTernaryMaskPolicyRoundingMode