[llvm] 9b9c2a0 - [RISCV][NFC] Move RISCVISD::TAIL beside RISCVISD::CALL
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 11:13:18 PDT 2024
Author: Sam Elliott
Date: 2024-10-22T11:12:58-07:00
New Revision: 9b9c2a082c240826e2cf91bb8e3a1dcb5bbba78a
URL: https://github.com/llvm/llvm-project/commit/9b9c2a082c240826e2cf91bb8e3a1dcb5bbba78a
DIFF: https://github.com/llvm/llvm-project/commit/9b9c2a082c240826e2cf91bb8e3a1dcb5bbba78a.diff
LOG: [RISCV][NFC] Move RISCVISD::TAIL beside RISCVISD::CALL
Added:
Modified:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index 3588ef46cadce1..677910ec0b5591 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -20087,11 +20087,11 @@ const char *RISCVTargetLowering::getTargetNodeName(unsigned Opcode) const {
NODE_NAME_CASE(SRET_GLUE)
NODE_NAME_CASE(MRET_GLUE)
NODE_NAME_CASE(CALL)
+ NODE_NAME_CASE(TAIL)
NODE_NAME_CASE(SELECT_CC)
NODE_NAME_CASE(BR_CC)
NODE_NAME_CASE(BuildPairF64)
NODE_NAME_CASE(SplitF64)
- NODE_NAME_CASE(TAIL)
NODE_NAME_CASE(ADD_LO)
NODE_NAME_CASE(HI)
NODE_NAME_CASE(LLA)
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.h b/llvm/lib/Target/RISCV/RISCVISelLowering.h
index c3749447955330..62d6b37d9b9196 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.h
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.h
@@ -34,6 +34,7 @@ enum NodeType : unsigned {
SRET_GLUE,
MRET_GLUE,
CALL,
+ TAIL,
/// Select with condition operator - This selects between a true value and
/// a false value (ops #3 and #4) based on the boolean result of comparing
/// the lhs and rhs (ops #0 and #1) of a conditional expression with the
@@ -44,7 +45,6 @@ enum NodeType : unsigned {
BR_CC,
BuildPairF64,
SplitF64,
- TAIL,
// Add the Lo 12 bits from an address. Selected to ADDI.
ADD_LO,
More information about the llvm-commits
mailing list