[CodeGen][TargetPassConfig] Add TargetTransformInfo pass correctly
authorEvgeny Leviant <v.evgeny.leviant@ntd.nintendo.com>
Sat, 18 Jul 2020 11:11:40 +0000 (14:11 +0300)
committerEvgeny Leviant <v.evgeny.leviant@ntd.nintendo.com>
Sat, 18 Jul 2020 11:11:40 +0000 (14:11 +0300)
commit24089928be7cb04a40975f4d037b1a1c15034614
tree973e6ebd06e33ba7324d06028dcbba7b37bf3b87
parent1fe0705cb17ab48aab0e486db1148e00e544c0d3
[CodeGen][TargetPassConfig] Add TargetTransformInfo pass correctly

Patch adds tti pass directly enforcing its execution with correctly set
TargetTransformInfo.

Differential revision: https://reviews.llvm.org/D84047
llvm/lib/CodeGen/TargetPassConfig.cpp
llvm/test/CodeGen/AArch64/partial-pipeline-execution.ll [new file with mode: 0644]