[AMDGPU][MC] Added missing isCall/isBranch flags
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 16 Jul 2021 11:42:30 +0000 (14:42 +0300)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 16 Jul 2021 11:59:10 +0000 (14:59 +0300)
Added isCall for S_CALL_B64; added isBranch for S_SUBVECTOR_LOOP_*.

Differential Revision: https://reviews.llvm.org/D106072

llvm/lib/Target/AMDGPU/SOPInstructions.td

index 7db78da..e969701 100644 (file)
@@ -729,6 +729,8 @@ class SOPK_Real<bits<5> op, SOPK_Pseudo ps> :
   let SchedRW            = ps.SchedRW;
   let mayLoad            = ps.mayLoad;
   let mayStore           = ps.mayStore;
+  let isBranch           = ps.isBranch;
+  let isCall             = ps.isCall;
 
   // encoding
   bits<7>  sdst;