Semantically gc.result and gc.relocate can be considered as readonly functions. This will allow llvm more freedom is finding optimal placement for this intrinsics. The only thing we want to prevent is reordering of the gc.relocates across different statepoints. And this shouldn't happen since we model statepoints as writing calls.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM