llvm.org GIT mirror llvm / d8b4d6f
AMDGPU: Fix missing OPERAND_IMMEDIATE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375365 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 1 year, 1 month ago
1 changed file(s) with 18 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
870870 let RenderMethod = "printExpTgt";
871871 }
872872
873 def SendMsgImm : Operand {
874 let PrintMethod = "printSendMsg";
875 let ParserMatchClass = SendMsgMatchClass;
876 }
877
878 def SwizzleImm : Operand {
879 let PrintMethod = "printSwizzle";
880 let ParserMatchClass = SwizzleMatchClass;
881 }
882
883 def EndpgmImm : Operand {
884 let PrintMethod = "printEndpgm";
885 let ParserMatchClass = EndpgmMatchClass;
886 }
887
888873 def SWaitMatchClass : AsmOperandClass {
889874 let Name = "SWaitCnt";
890875 let RenderMethod = "addImmOperands";
896881 let ParserMethod = "parseVReg32OrOff";
897882 }
898883
884 let OperandType = "OPERAND_IMMEDIATE" in {
885 def SendMsgImm : Operand {
886 let PrintMethod = "printSendMsg";
887 let ParserMatchClass = SendMsgMatchClass;
888 }
889
890 def SwizzleImm : Operand {
891 let PrintMethod = "printSwizzle";
892 let ParserMatchClass = SwizzleMatchClass;
893 }
894
895 def EndpgmImm : Operand {
896 let PrintMethod = "printEndpgm";
897 let ParserMatchClass = EndpgmMatchClass;
898 }
899
899900 def WAIT_FLAG : Operand {
900901 let ParserMatchClass = SWaitMatchClass;
901902 let PrintMethod = "printWaitFlag";
902 let OperandType = "OPERAND_IMMEDIATE";
903 }
903 }
904 } // End OperandType = "OPERAND_IMMEDIATE"
904905
905906 include "SIInstrFormats.td"
906907 include "VIInstrFormats.td"