[PATCH] D16455: [mips] Allowed la instructions on 64-bit architectures.
    Daniel Sanders via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Feb  3 07:18:07 PST 2016
    
    
  
dsanders requested changes to this revision.
dsanders added a comment.
This revision now requires changes to proceed.
This change looks correct but it appears to expose a bug. One of the tests in macro-la-64bit.s emits different code to GAS. IAS gives:
  2f0:   34068000        li      a2,0x8000
  2f4:   00c6302d        daddu   a2,a2,a2
where the li clobbers the third operand of the daddu, whereas GAS emits:
  2f0:   34018000        li      at,0x8000
  2f4:   0026302d        daddu   a2,at,a2
Could you correct the relevant CHECK lines and fix the bug?
http://reviews.llvm.org/D16455
    
    
More information about the llvm-commits
mailing list