diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-01-20 23:55:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-20 23:55:07 +0000 |
commit | d7e3cc840b81b0438e47f05d9664137a198876df (patch) | |
tree | e43d687614462ad01654f0ef2013aa9c2bc9938f /lib/Object/COFFObjectFile.cpp | |
parent | e906921480beacea2dea2d5ce8156bc246ee12a7 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions