summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2017-09-01 15:36:00 +0000
committerManoj Gupta <manojgupta@google.com>2017-09-01 15:36:00 +0000
commit6b54c7e11beb2e050de4f912d182938ce81f4221 (patch)
treef4a3f6853c8f7808b45b5eb85298505638d2db84 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parente196e94eca323739086fd7bd6dca321e66c5ed58 (diff)
downloadbcm5719-llvm-6b54c7e11beb2e050de4f912d182938ce81f4221.tar.gz
bcm5719-llvm-6b54c7e11beb2e050de4f912d182938ce81f4221.zip
[LoopVectorizer] Use two step casting for float to pointer types.
Summary: LoopVectorizer is creating casts between vec<ptr> and vec<float> types on ARM when compiling OpenCV. Since, tIs is illegal to directly cast a floating point type to a pointer type even if the types have same size causing a crash. Fix the crash using a two-step casting by bitcasting to integer and integer to pointer/float. Fixes PR33804. Reviewers: mkuper, Ayal, dlj, rengolin, srhines Reviewed By: rengolin Subscribers: aemerson, kristof.beyls, mkazantsev, Meinersbur, rengolin, mzolotukhin, llvm-commits Differential Revision: https://reviews.llvm.org/D35498 llvm-svn: 312331
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud