Skip to content
  1. Feb 19, 2014
  2. Feb 18, 2014
  3. Feb 17, 2014
    • Kevin Enderby's avatar
      Fix the arm assembler so that this malformed instruction: · 6287371c
      Kevin Enderby authored
          ldrd r6, r7 [r2, #15]
      simply gives an error and does not triggers an assertion.
      
      As Jim points out, the diagnostic is really strange here,
      but fixing that would be more complicated. The missing
      comma results in the parser expecting a construct like r2[2],
      which is the vector index thing the error message is talking
      about. That's not what the user intended, though, and there's
      nothing else in the instruction that looks at all like a vector.
      Yet more fallout from not having a real parser here and trying
      to do context-free generic matching for addressing modes.
      
      rdar://15097243
      
      llvm-svn: 201531
      6287371c
Loading