[PATCH] ARM: do not add a regmask for TAILJUMPs Was: [PATCH] improve arm machine code (make -verify-machineinstrs happier)

Matthias Braun mbraun at apple.com
Thu Oct 3 15:48:01 PDT 2013


Attached is a revised version with testcase.

Description: ARM: do not add a regmask for TAILJUMPs
The jump doesn't really kill the registers, the following call does but
we never get back anyway.
This works around some verify-machineinstrs problems when TAILJUMPs are
if-converted.

Greetings
	Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARM-do-not-add-a-regmask-for-TAILJUMPs.patch
Type: application/octet-stream
Size: 4035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131003/5bfb9ff8/attachment.obj>
-------------- next part --------------

On Oct 3, 2013, at 10:41 AM, Matthias Braun <mbraun at apple.com> wrote:

> The attached 3 patches improve some cases in the ARM backend where bad code (in the sense of -verify-machineinstrs) was produced. Please review, thanks.
> 
> Greetings,
> 	Matthias
> <ARM-do-not-add-a-regmask-for-TAILJUMPs.patch><ARM-optimizeSelect-has-to-consider-the-previous-regi.patch><ARM-preserv-undef-flag-in-pseudo-instruction-expande.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list