diff options
author | Thomas Raoux <thomas.raoux@gmail.com> | 2019-08-20 15:54:59 +0000 |
---|---|---|
committer | Thomas Raoux <thomas.raoux@gmail.com> | 2019-08-20 15:54:59 +0000 |
commit | be699bf38995f940225aa31b520be00721e258b2 (patch) | |
tree | 9357a33564220276f7445e42bda674a2c30444c7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6585f018ada85c53efeec28fb6b1d9c978c209f7 (diff) | |
download | bcm5719-llvm-be699bf38995f940225aa31b520be00721e258b2.tar.gz bcm5719-llvm-be699bf38995f940225aa31b520be00721e258b2.zip |
[CodeGen] Add a pass to do block predication on SSA machine IR.
For targets requiring aggressive scheduling and/or software pipeline we need to
apply predication before preRA scheduling. This adds a pass re-using the early
if-cvt infrastructure but generating predicated instructions instead of
speculatively executing instructions. It allows doing if conversion on blocks
containing instructions with side-effects. The pass re-use the target hook from
postRA if-conversion to let the target decide on the heuristic to apply.
Differential Revision: https://reviews.llvm.org/D66190
llvm-svn: 369395
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions