aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-01-20 08:35:56 +0000
committerNadav Rotem <nrotem@apple.com>2013-01-20 08:35:56 +0000
commit9450fcfff145cd20dc2bddad938d19dce1cc74eb (patch)
tree67722a61fcff86be92dfd741d8aa70cd14983fc6 /clang/lib/Frontend/CompilerInvocation.cpp
parent87a736ca9fa0007d5590b111011b0b40bd2042dd (diff)
downloadllvm-9450fcfff145cd20dc2bddad938d19dce1cc74eb.zip
llvm-9450fcfff145cd20dc2bddad938d19dce1cc74eb.tar.gz
llvm-9450fcfff145cd20dc2bddad938d19dce1cc74eb.tar.bz2
Revert 172708.
The optimization handles esoteric cases but adds a lot of complexity both to the X86 backend and to other backends. This optimization disables an important canonicalization of chains of SEXT nodes and makes SEXT and ZEXT asymmetrical. Disabling the canonicalization of consecutive SEXT nodes into a single node disables other DAG optimizations that assume that there is only one SEXT node. The AVX mask optimizations is one example. Additionally this optimization does not update the cost model. llvm-svn: 172968
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions