diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-05-14 09:09:54 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-05-14 09:09:54 +0000 |
commit | b693f42b71d3ca4e8bc3df59bd483a82234b99fd (patch) | |
tree | e12d980da3b156b332ecd6f3f9b4adf95fa9c676 /llvm/unittests/Analysis/AliasAnalysisTest.cpp | |
parent | 2f10a671429c543e818c4bf6df2e7d0552a8c953 (diff) | |
download | bcm5719-llvm-b693f42b71d3ca4e8bc3df59bd483a82234b99fd.tar.gz bcm5719-llvm-b693f42b71d3ca4e8bc3df59bd483a82234b99fd.zip |
[Polly] Fix code generation of llvm.expect intrinsic
At the time of code generation, an instruction with an llvm intrinsic is ignored
in copyBB. However, if the value of the instruction is used later in the
program, the value needs to be synthesized. However, this is causing some issues
with the instructions being generated in a hoisted basic block.
Removing llvm.expect from the list of ignored intrinsics fixes this bug.
This resolves http://llvm.org/PR32324.
Contributed-by: Annanay Agarwal <cs14btech11001@iith.ac.in>
Tags: #polly
Differential Revision: https://reviews.llvm.org/D32992
llvm-svn: 303006
Diffstat (limited to 'llvm/unittests/Analysis/AliasAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions