@@ -10376,7 +10376,7 @@ struct DxilInst_LinAlgMatrixLoadFromDescriptor {
1037610376 // Validation support
1037710377 bool isAllowed () const { return true ; }
1037810378 bool isArgumentListValid () const {
10379- if (5 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
10379+ if (6 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
1038010380 return false ;
1038110381 return true ;
1038210382 }
@@ -10388,6 +10388,7 @@ struct DxilInst_LinAlgMatrixLoadFromDescriptor {
1038810388 arg_offset = 2 ,
1038910389 arg_stride = 3 ,
1039010390 arg_layout = 4 ,
10391+ arg_align = 5 ,
1039110392 };
1039210393 // Accessors
1039310394 llvm::Value *get_handle () const { return Instr->getOperand (1 ); }
@@ -10398,6 +10399,8 @@ struct DxilInst_LinAlgMatrixLoadFromDescriptor {
1039810399 void set_stride (llvm::Value *val) { Instr->setOperand (3 , val); }
1039910400 llvm::Value *get_layout () const { return Instr->getOperand (4 ); }
1040010401 void set_layout (llvm::Value *val) { Instr->setOperand (4 , val); }
10402+ llvm::Value *get_align () const { return Instr->getOperand (5 ); }
10403+ void set_align (llvm::Value *val) { Instr->setOperand (5 , val); }
1040110404};
1040210405
1040310406// / This instruction fills a matrix with data from a groupshared array
@@ -10575,7 +10578,7 @@ struct DxilInst_LinAlgMatrixStoreToDescriptor {
1057510578 // Validation support
1057610579 bool isAllowed () const { return true ; }
1057710580 bool isArgumentListValid () const {
10578- if (6 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
10581+ if (7 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
1057910582 return false ;
1058010583 return true ;
1058110584 }
@@ -10588,6 +10591,7 @@ struct DxilInst_LinAlgMatrixStoreToDescriptor {
1058810591 arg_offset = 3 ,
1058910592 arg_stride = 4 ,
1059010593 arg_layout = 5 ,
10594+ arg_align = 6 ,
1059110595 };
1059210596 // Accessors
1059310597 llvm::Value *get_matrix () const { return Instr->getOperand (1 ); }
@@ -10600,6 +10604,8 @@ struct DxilInst_LinAlgMatrixStoreToDescriptor {
1060010604 void set_stride (llvm::Value *val) { Instr->setOperand (4 , val); }
1060110605 llvm::Value *get_layout () const { return Instr->getOperand (5 ); }
1060210606 void set_layout (llvm::Value *val) { Instr->setOperand (5 , val); }
10607+ llvm::Value *get_align () const { return Instr->getOperand (6 ); }
10608+ void set_align (llvm::Value *val) { Instr->setOperand (6 , val); }
1060310609};
1060410610
1060510611// / This instruction stores a matrix to groupshared memory
@@ -10812,7 +10818,7 @@ struct DxilInst_LinAlgMatrixAccumulateToDescriptor {
1081210818 // Validation support
1081310819 bool isAllowed () const { return true ; }
1081410820 bool isArgumentListValid () const {
10815- if (6 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
10821+ if (7 != llvm::dyn_cast<llvm::CallInst>(Instr)->getNumArgOperands ())
1081610822 return false ;
1081710823 return true ;
1081810824 }
@@ -10825,6 +10831,7 @@ struct DxilInst_LinAlgMatrixAccumulateToDescriptor {
1082510831 arg_offset = 3 ,
1082610832 arg_stride = 4 ,
1082710833 arg_layout = 5 ,
10834+ arg_align = 6 ,
1082810835 };
1082910836 // Accessors
1083010837 llvm::Value *get_matrix () const { return Instr->getOperand (1 ); }
@@ -10837,6 +10844,8 @@ struct DxilInst_LinAlgMatrixAccumulateToDescriptor {
1083710844 void set_stride (llvm::Value *val) { Instr->setOperand (4 , val); }
1083810845 llvm::Value *get_layout () const { return Instr->getOperand (5 ); }
1083910846 void set_layout (llvm::Value *val) { Instr->setOperand (5 , val); }
10847+ llvm::Value *get_align () const { return Instr->getOperand (6 ); }
10848+ void set_align (llvm::Value *val) { Instr->setOperand (6 , val); }
1084010849};
1084110850
1084210851// / This instruction accumulates a matrix to groupshared memory
0 commit comments