This patch prepares more for tail call support in XRay. Until the logging part supports tail calls, this is just staging, so it seems LLVM part is mostly ready with this patch.
Related: https://reviews.llvm.org/D28948 (compiler-rt)
Details
Diff Detail
Event Timeline
test/CodeGen/AArch64/xray-tail-call-sled.ll | ||
---|---|---|
30 | You probably want to make sure that you have the instrumentation map for this function and the one below. |
test/CodeGen/AArch64/xray-tail-call-sled.ll | ||
---|---|---|
30 | I thought about this, but this is already tested in llvm\test\CodeGen\AArch64\xray-attribute-instrumentation.ll. Why to duplicate here the testing of instrumentation map emission? |
test/CodeGen/AArch64/xray-tail-call-sled.ll | ||
---|---|---|
30 | That's fair -- I was thinking about the off-chance that maybe the tail sled's entry is not emitted as part of the table (or that it has a different type). Adding a test specifically for the tail sled's entry in the map with the correct type gets us coverage to make sure we don't break that part again. |
lib/Target/AArch64/AArch64InstrInfo.cpp | ||
---|---|---|
1630 | This is in line with what the x86 and hexagon back-ends already have. Should be fine. |
This is in line with what the x86 and hexagon back-ends already have. Should be fine.