[llvm] 69deb3c - [Hexagon] Update instruction info for missing .cur post-increment cases
    Krzysztof Parzyszek via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jan  5 13:24:36 PST 2022
    
    
  
Author: Sumanth Gundapaneni
Date: 2022-01-05T13:19:02-08:00
New Revision: 69deb3c8297b157fffaac6043583e4c7cd0d7ee7
URL: https://github.com/llvm/llvm-project/commit/69deb3c8297b157fffaac6043583e4c7cd0d7ee7
DIFF: https://github.com/llvm/llvm-project/commit/69deb3c8297b157fffaac6043583e4c7cd0d7ee7.diff
LOG: [Hexagon] Update instruction info for missing .cur post-increment cases
Added: 
    
Modified: 
    llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp b/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
index a36be6b02caa..ca395c063479 100644
--- a/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
@@ -3564,6 +3564,10 @@ int HexagonInstrInfo::getDotCurOp(const MachineInstr &MI) const {
     return Hexagon::V6_vL32b_nt_cur_pi;
   case Hexagon::V6_vL32b_nt_ai:
     return Hexagon::V6_vL32b_nt_cur_ai;
+  case Hexagon::V6_vL32b_ppu:
+    return Hexagon::V6_vL32b_cur_ppu;
+  case Hexagon::V6_vL32b_nt_ppu:
+    return Hexagon::V6_vL32b_nt_cur_ppu;
   }
   return 0;
 }
@@ -3580,6 +3584,10 @@ int HexagonInstrInfo::getNonDotCurOp(const MachineInstr &MI) const {
     return Hexagon::V6_vL32b_nt_pi;
   case Hexagon::V6_vL32b_nt_cur_ai:
     return Hexagon::V6_vL32b_nt_ai;
+  case Hexagon::V6_vL32b_cur_ppu:
+    return Hexagon::V6_vL32b_ppu;
+  case Hexagon::V6_vL32b_nt_cur_ppu:
+    return Hexagon::V6_vL32b_nt_ppu;
   }
   return 0;
 }
        
    
    
More information about the llvm-commits
mailing list