This was reversed compared to ThinLTOCodeGenerator for some reason,
and lead to an increased code-size on my tests. I figured that the
weak resolution may internalize a linkonce function, which will be
promoted immediately (and renamed), before being internalized again.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Test needs fix but otherwise fine.
test/ThinLTO/X86/internalize.ll | ||
---|---|---|
10 ↗ | (On Diff #68439) | It passes only if I change the file name to "%t.o.1.2.internalize.bc" Note there are two changes in the name: s/0/1/ and s/internalized/internalize/. |
test/ThinLTO/X86/internalize.ll | ||
---|---|---|
10 ↗ | (On Diff #68439) | Yes, annoyingly the suffix for the temporary names for the new API don't match the ThinLTOCodeGenerator ones. I had a local patch to correct this while I'm migrating. |