ARM: support emission of complex SO expressions
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 13 Mar 2014 07:02:41 +0000 (07:02 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 13 Mar 2014 07:02:41 +0000 (07:02 +0000)
Support to the IAS was added to actually parse and handle the complex SO
expressions.  However, the object file lowering was not updated to compensate
for the fact that the shift operand may be an absolute expression.

When trying to assemble to an object file, the lowering would fail while
succeeding when emitting purely assembly.  Add an appropriate test.

The test case is inspired by the test case provided by Jiangning Liu who also
brought the issue to light.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203762 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found