Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
2897–2900 ↗ | (On Diff #85556) | We might have a guard with non-standard calling convention. I guess you'll need to set the cc for new guards as well. |
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
2900–2905 ↗ | (On Diff #85692) | Maybe: auto CC = II->getCallingConv() Builder->CreateCall(A)->setCallingConv(CC) Builder->CreateCall(B)->setCallingConv(CC) |
test/Transforms/InstCombine/call-guard.ll | ||
42 ↗ | (On Diff #85692) | Please add a test for non-default calling convention. |
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
2900–2905 ↗ | (On Diff #85692) | I would rather not do call creation and setting the convention in one line, because in case if we want to do to them something more than setting the CC in future, this code will need to be changed. |
test/Transforms/InstCombine/call-guard.ll | ||
---|---|---|
65 ↗ | (On Diff #85713) | @test_guard_not_or_non_default_cc? There is nothing specific about cc99 in this test. |