llvm-project/polly/lib/Support
Tobias Grosser b693f42b71 [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
2017-05-14 09:09:54 +00:00
..
DumpModulePass.cpp [Support] Add -polly-dump-module pass. 2017-03-09 22:29:58 +00:00
GICHelper.cpp [DeLICM] Known knowledge. 2017-05-06 14:03:58 +00:00
ISLTools.cpp Use isl C++ foreach implementation 2017-04-14 13:39:40 +00:00
Mainpage.h docs: Add doxygen mainpage 2016-03-07 21:17:48 +00:00
RegisterPasses.cpp [Polly][NewPM] Port ScopDetection to the new PassManager 2017-05-12 14:37:29 +00:00
SCEVAffinator.cpp [SCEVAffinator] Do not scan redundantly for parameters 2016-11-13 21:28:07 +00:00
SCEVValidator.cpp Update to recent formatting changes 2017-02-01 10:12:09 +00:00
ScopHelper.cpp [Polly] Fix code generation of llvm.expect intrinsic 2017-05-14 09:09:54 +00:00
ScopLocation.cpp clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00
VirtualInstruction.cpp [VirtualInstruction] Do a lookup instead of a linear search. NFC. 2017-05-11 22:56:27 +00:00