[llvm] b379520 - [RISCV][GISel] Add missing using LegalityPredicates.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 12:42:36 PDT 2023


Author: Craig Topper
Date: 2023-10-25T12:42:25-07:00
New Revision: b3795204b68cb0f844001a0200d30e295efe24d5

URL: https://github.com/llvm/llvm-project/commit/b3795204b68cb0f844001a0200d30e295efe24d5
DIFF: https://github.com/llvm/llvm-project/commit/b3795204b68cb0f844001a0200d30e295efe24d5.diff

LOG: [RISCV][GISel] Add missing using LegalityPredicates.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp b/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
index 39c693ed32b3864..736422c4af13156 100644
--- a/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+++ b/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
@@ -19,6 +19,7 @@
 #include "llvm/IR/Type.h"
 
 using namespace llvm;
+using namespace LegalityPredicates;
 
 RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) {
   const unsigned XLen = ST.getXLen();


        


More information about the llvm-commits mailing list