- Support serialization of all arguments in machine function info. This enables fabricating MIR tests depending on argument info.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 34215 Build 34214: arc lint + arc unit
Event Timeline
llvm/test/CodeGen/AMDGPU/hazard-hidden-bundle.mir | ||
---|---|---|
6–7 | As non-empty arg info has '}' as well, need to match the basic block label to ensure '}' matching the end of the bundle. |
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
1082 | Default mask value in ArgDescriptor is not 0, it is ~0. |
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
1082 | Optional<unsigned> only return true when is assigned with values. It's not equivalent to the checking of 0. |
Comment Actions
Can you avoid having an explicit isReg field? It should be able to infer if it's a register or stack offset
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | ||
---|---|---|
129–132 | braces |
Default mask value in ArgDescriptor is not 0, it is ~0.