This is an archive of the discontinued LLVM Phabricator instance.

Option to ignore assume like intrinsic uses in hasAddressTaken()
ClosedPublic

Authored by rampitec on Feb 4 2021, 2:46 PM.

Diff Detail

Event Timeline

rampitec created this revision.Feb 4 2021, 2:46 PM
rampitec requested review of this revision.Feb 4 2021, 2:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2021, 2:46 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Feb 4 2021, 4:22 PM
llvm/include/llvm/IR/Function.h
880

true may be a better default?

rampitec added inline comments.Feb 4 2021, 4:24 PM
llvm/include/llvm/IR/Function.h
880

It probably is. I want to preserve current behavior and then we can switch the default.

rampitec updated this revision to Diff 321614.Feb 4 2021, 4:40 PM

Fixed bug if cast is unused.

rampitec marked an inline comment as done.Feb 5 2021, 2:04 PM
rampitec added inline comments.
llvm/include/llvm/IR/Function.h
880
madhur13490 added inline comments.Feb 11 2021, 10:37 PM
llvm/lib/IR/Function.cpp
1582

Please update this comment with a clear description of the new bool.

rampitec updated this revision to Diff 323384.Feb 12 2021, 10:15 AM
rampitec marked an inline comment as done.

Updated comment.

madhur13490 accepted this revision.Feb 25 2021, 9:20 AM
This revision is now accepted and ready to land.Feb 25 2021, 9:20 AM