Add few simple tests to check statepoint placement for invoke instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with comment addressed.
p.s. Can you add one test for the single entry phi issue? This can be a separate change if that's easier.
test/Transforms/PlaceSafepoints/invokes.ll | ||
---|---|---|
3 ↗ | (On Diff #19679) | Remove this please. |
test/Transforms/PlaceSafepoints/invokes.ll | ||
---|---|---|
3 ↗ | (On Diff #19740) | Why did you quote some_call? Doesn't it look ugly? |
6 ↗ | (On Diff #19740) | It might be nice to give the test a more descriptive name than testN. |
10 ↗ | (On Diff #19740) | Do check for gc.statepoint.<sig>, because you don't know if you're matching a poll or a callsite in the original. |
Comment Actions
Yes, Philip, please commit on my behalf.
test/Transforms/PlaceSafepoints/invokes.ll | ||
---|---|---|
3 ↗ | (On Diff #19740) | My code highlighting tool does a better job for quoted names. But I can remove quotes if you insist. |
10 ↗ | (On Diff #19740) | We will check for "invoke" followed by "statepoint". And we don't invoke polls as far as I know. So it must be original call site. |