Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
LGTM, with one nit.
test/Profile/cxx-indirect-call.cpp | ||
---|---|---|
3 | I don't really understand the significance of makeItaniumABITriple. Could you explain why this change is necessary? If it's not, please drop it. |
test/Profile/cxx-indirect-call.cpp | ||
---|---|---|
3 | %itanium_abi_tuple may give any target triple that's not win32 - which includes s390x and other platforms that need zeroext. Since this test assumes __llvm_profile_instrument_target has last parameter without zeroext, it'd break when run on s390x. Hardwiring the target to x86_64 ensures we'll never emit zeroext here. |
I don't really understand the significance of makeItaniumABITriple. Could you explain why this change is necessary? If it's not, please drop it.