aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2013-12-05 12:07:05 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2013-12-05 12:07:05 +0000
commita6beac1accd9222e4567bca8c3000e87303d6204 (patch)
tree898c9b69c3587690f8d4d0d860a0d66e82dcf280 /clang/lib/Frontend/CompilerInvocation.cpp
parent9be70fbda9e3efbb33a285f600e13c16d41f59e1 (diff)
downloadllvm-a6beac1accd9222e4567bca8c3000e87303d6204.zip
llvm-a6beac1accd9222e4567bca8c3000e87303d6204.tar.gz
llvm-a6beac1accd9222e4567bca8c3000e87303d6204.tar.bz2
[mips] Small code generation improvement for conditional operator (select)
in case the operands are constants and its difference is |1|. It should be possible in those cases to rematerialize the result using MIPS's slt and similar instructions. The small update to some of the tests in cmov.ll, sel1c.ll and sel2c.ll was needed otherwise the optimization implemented in this patch would have been triggered (difference between the operands was 1) and that would have changed the semantic of the tests. llvm-svn: 196498
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions