aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-12-19 19:28:37 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-12-19 19:28:37 +0000
commit3c9f336361dd24c7bb80903bbda7b1040a09486c (patch)
tree12f2a24ba0c6c80bcb8ec505e88646ceba7ab5df /clang/lib/Basic/FileSystemStatCache.cpp
parent92a939ae73760c1b515eae91855b25bc6e15b4df (diff)
downloadllvm-3c9f336361dd24c7bb80903bbda7b1040a09486c.zip
llvm-3c9f336361dd24c7bb80903bbda7b1040a09486c.tar.gz
llvm-3c9f336361dd24c7bb80903bbda7b1040a09486c.tar.bz2
Remove the restriction on the first operand of the add node in SelectAddr.
This change reduces the number of instructions generated. For example, (load (add (sub $n0, $n1), (MipsLo got(s)))) results in the following sequence of instructions: 1. sub $n2, $n0, $n1 2. lw got(s)($n2) Previously, three instructions were needed. 1. sub $n2, $n0, $n1 2. addiu $n3, $n2, got(s) 3. lw 0($n3) llvm-svn: 146888
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions