aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-20 23:55:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-20 23:55:07 +0000
commit028ccbfcbfa4bc71a7e17bcb596a8fc3c06a1ea6 (patch)
treea28070c5d3cf26855cca4aef0288a5a310f5a9c7 /llvm/lib/Object/ELFObjectFile.cpp
parent4ad7afa01979c56a5b87700fb4d2640d37e2e4d1 (diff)
downloadllvm-028ccbfcbfa4bc71a7e17bcb596a8fc3c06a1ea6.zip
llvm-028ccbfcbfa4bc71a7e17bcb596a8fc3c06a1ea6.tar.gz
llvm-028ccbfcbfa4bc71a7e17bcb596a8fc3c06a1ea6.tar.bz2
Don't be overly aggressive with CSE of "ldr constantpool". If it's a pc-relative
value, the "add pc" must be CSE'ed at the same time. We could follow the same approach as T2 by adding pseudo instructions that combine the ldr + "add pc". But the better approach is to use movw + movt (which I will enable soon), so I'll leave this as a TODO. llvm-svn: 123949
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions