[llvm-commits] Fix LLVM to emit 16-bit CMN when targeting ARM Thumb2 ISA

Zino Benaissa zinob at codeaurora.org
Mon Apr 2 11:27:16 PDT 2012


Hi Anton, 

I am sorry for the delay; I let this one go under the radar and I forgot to come back to it  :(.
 
I added an inline-asm test.  Does this work for you? 

Thanks, 

-Zino 

-----Original Message-----
From: Anton Korobeynikov [mailto:anton at korobeynikov.info] 
Sent: Tuesday, March 06, 2012 10:59 AM
To: Zino Benaissa
Cc: Sebastian Pop; llvm-commits at cs.uiuc.edu; James Molloy
Subject: Re: [llvm-commits] Fix LLVM to emit 16-bit CMN when targeting ARM Thumb2 ISA

Hi Zino

> In file "test/CodeGen/Thumb2/thumb2-cmn.ll", there are already testcases that test complex cmn wide forms (cmn in with shift).
> It is   not easy to force the operands of cmn to be r8-r12 and at the same time keep it consistent over time.
Even with inline asm?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-missing-CMN-case-in-Thumb2SizeReduction-pass-s.patch
Type: application/octet-stream
Size: 2536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120402/79d53a1f/attachment.obj>


More information about the llvm-commits mailing list