[Polly] Fix code generation of llvm.expect intrinsicAt the time of code generation, an instruction with an llvm intrinsic is ignoredin copyBB. However, if the value of the instruction is used late
[Polly] Fix code generation of llvm.expect intrinsicAt the time of code generation, an instruction with an llvm intrinsic is ignoredin copyBB. However, if the value of the instruction is used later in theprogram, the value needs to be synthesized. However, this is causing some issueswith 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 <[email protected]>Tags: #pollyDifferential Revision: https://reviews.llvm.org/D32992llvm-svn: 303006
show more ...