Asiri Rathnayake 838ec33e0c Fix modified immediate bug reported by MC Hammer.
Instructions of the form [ADD Rd, pc, #imm] are manually aliased
in processInstruction() to use ADR. To accomodate this, mod_imm handling
had to be tweaked a bit. Turns out it was the manual aliasing that must
be tweaked to accommodate mod_imms instead. More information about the
parsed instruction is available at the point where processInstruction()
is invoked, which makes it easier to detect a mod_imm at that point rather
than trying to detect a potential alias when a mod_imm is being prepped.
Added a test case and fixed some white spaces as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223772 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-09 13:14:58 +00:00
..
2014-04-03 17:35:22 +00:00
2014-11-05 12:40:21 +00:00
2014-06-19 16:35:19 +00:00
2014-01-30 04:46:24 +00:00
2014-05-05 17:58:46 +00:00
2014-01-24 17:20:08 +00:00
2014-01-29 11:50:56 +00:00
2014-01-28 23:13:30 +00:00
2014-04-03 11:29:15 +00:00
2014-01-17 13:53:08 +00:00
2014-04-16 16:45:18 +00:00