summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-04-22 18:05:13 +0000
committerPete Cooper <peter_cooper@apple.com>2015-04-22 18:05:13 +0000
commit037b700b7f0caecabc745217fd421c8bca06f6eb (patch)
treeb26fe1f207d91558e0de09d95b2b35e988908922 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc96ee08016b09f29770634bfaaacc79ef332733c (diff)
downloadbcm5719-llvm-037b700b7f0caecabc745217fd421c8bca06f6eb.tar.gz
bcm5719-llvm-037b700b7f0caecabc745217fd421c8bca06f6eb.zip
[AArch64] Use MachineRegisterInfo instead of LiveIntervals to calculate liveness. NFC.
The CondOpt pass currently uses LiveIntervals to set the dead flag on a def. This patch uses MachineRegisterInfo::use_empty instead as that is equivalent to the def being dead. This removes an instance of LiveIntervals in the pass manager pipeline and saves 3.8% of compile time on llc conpiled for AArch64. Reviewed by Chad Rosier and Zhaoshi. llvm-svn: 235532
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud