This just adds the opcode and verifier, it will be used to replace existing dynamic alloca handling in a subsequent patch.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/include/llvm/Target/GenericOpcodes.td | ||
|---|---|---|
| 195 | I don't think so? G_FRAME_INDEX doesn't have side effects, so I don't think this should be counted as having it either. I do intend to use this to implement stack checking calls but that's a target dependent thing. | |
| llvm/test/MachineVerifier/test_g_dyn_stackalloc.mir | ||
| 3 | Ok. | |
| llvm/include/llvm/Target/GenericOpcodes.td | ||
|---|---|---|
| 195 | The DAG equivalent has a chain. I think you could observe different behavior if you reordered a small and a large request | |
| llvm/include/llvm/Target/GenericOpcodes.td | ||
|---|---|---|
| 195 | That's true. I'll change it. | |
Should this be considered a side effect?