summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2017-10-04 20:14:08 +0000
committerGuozhi Wei <carrot@google.com>2017-10-04 20:14:08 +0000
commiteb301875b872f6276b2090ae2e535dfbf5942871 (patch)
treed6fe7957abddce9563c464185024fbab64d877f8 /llvm/lib/Support/Threading.cpp
parent2d9aa7432f0f3d2590970546d0eefde258f5709e (diff)
downloadbcm5719-llvm-eb301875b872f6276b2090ae2e535dfbf5942871.tar.gz
bcm5719-llvm-eb301875b872f6276b2090ae2e535dfbf5942871.zip
[TargetTransformInfo] Check if function pointer is valid before calling isLoweredToCall
Function isLoweredToCall can only accept non-null function pointer, but a function pointer can be null for indirect function call. So check it before calling isLoweredToCall from getInstructionLatency. Differential Revision: https://reviews.llvm.org/D38204 llvm-svn: 314927
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud