This is an archive of the discontinued LLVM Phabricator instance.

[asan] Removed unused cast in the IR by moving AddrLong init after optimized callback section.
AbandonedPublic

Authored by kstoimenov on Aug 25 2021, 11:43 AM.

Details

Reviewers
vitalybuka

Diff Detail

Event Timeline

kstoimenov created this revision.Aug 25 2021, 11:43 AM
kstoimenov requested review of this revision.Aug 25 2021, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2021, 11:43 AM
kstoimenov retitled this revision from [asan] Removed unsed cast in the IR by moving AddrLong init after optimized callback section. to [asan] Removed unused cast in the IR by moving AddrLong init after optimized callback section..Aug 25 2021, 11:44 AM
kstoimenov added a reviewer: vitalybuka.

Update after rebase.

vitalybuka added inline comments.Aug 25 2021, 2:07 PM
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
1781

no tests needs to be updated?

vitalybuka added inline comments.Aug 25 2021, 2:09 PM
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
1780

ClOptimizeCallbacks does not exist in the HEAD,
I guess some parent patches are missing

kstoimenov added inline comments.Aug 25 2021, 2:17 PM
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
1780

D'oh! I have to push the flag patch first of course.

1781

I stated working on tests in the parent patch an this is how I found this inefficiency. I will them accordingly.

kstoimenov planned changes to this revision.Aug 25 2021, 2:30 PM
kstoimenov abandoned this revision.Aug 26 2021, 8:17 AM

Decided to merge that with the previous change.