]> granicus.if.org Git - llvm/commit
[CodeGen] Don't require AA in TwoAddress at -O0.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 10 May 2017 00:56:00 +0000 (00:56 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 10 May 2017 00:56:00 +0000 (00:56 +0000)
commitbf31cb7a60d340bc12e4cf5a60ea4c9e3e8646f1
tree9ef671c75fc7fe6581eb50e7fb728edfabc6c66f
parentd5c43cc5c92d981db764299be68e9c106469e78a
[CodeGen] Don't require AA in TwoAddress at -O0.

This is a follow-up to r302611, which moved an -O0 computation of DT
from SDAGISel to TwoAddress.

Don't use it here either, and avoid computing it completely.  The only
use was forwarding the analysis as an optional argument to utility
functions.

Differential Revision: https://reviews.llvm.org/D32766

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/X86/O0-pipeline.ll