commit | 81c102ba6639c807825b59df99ac41f3b14d191d | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Jul 23 18:26:03 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Jul 23 18:26:03 2009 +0000 |
tree | 6e331341437f903f1d5e545c8cd24962fb647873 | |
parent | 6316fbcb04af00fe76b6526fab09f51484014b3e [diff] |
Since we have moved unified assembly, switch to ADR instruction instead of a the difficult-to-read .set + add syntax to materialize pc-relative address. Turns out this also fixed a poor code selection on Thumb1. I have no idea why we were using a mov + add to do the same thing as ADR before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76889 91177308-0d34-0410-b5e6-96231b3b80d8