| commit | 8a9da5b00cf79882b8b272a3933e79dd4a478b19 | [log] [tgz] |
|---|---|---|
| author | Mihai Popa <mihail.popa@gmail.com> | Mon Jul 22 15:49:36 2013 +0000 |
| committer | Mihai Popa <mihail.popa@gmail.com> | Mon Jul 22 15:49:36 2013 +0000 |
| tree | ff34a92524cf1ee564882f4bc1168b76e9ff1be0 | |
| parent | 623c3d84898c81e4525ff0b9715233abd7c3bc14 [diff] |
This adds range checking for "ldr Rn, [pc, #imm]" Thumb instructions. With this patch: 1. ldr.n is recognized as mnemonic for the short encoding 2. ldr.w is recognized as menmonic for the long encoding 3. ldr will map to either short or long encodings depending on the size of the offset llvm-svn: 186831