No test since these aren't used now, except for one place in a pre-emit pass.
Details
Diff Detail
Event Timeline
lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
2294 | Why do we need to set hasSideEffects here? |
lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
2294 | It seems like writing to exec should count as a side effect, although currently the realgar bit instruction manipulations will not have this set |
lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
2294 | I see that this is the case in some other places already, but I also doubt that it makes sense. As long as all instructions set (implicit) uses of exec correctly, hasSideEffects shouldn't be needed. Perhaps there's some fragility left with the control-flow annotation instructions, but then IMHO the right approach would be to fix that fragility. Just my 2c... |
Why do we need to set hasSideEffects here?