[PATCH] Stop test/CodeGen/ARM/a15.ll targetting non-ARM targets.

Daniel Sanders Daniel.Sanders at imgtec.com
Tue Feb 25 10:59:18 PST 2014


I think everyone else gets a warning about the unrecognized CPU but lit conceals this warning because the test ends up passing. Other targets effectively invent a CPU with the default scheduling model and default feature bits set and carry on.
The MIPS backend started failing in r201792 when I tried to make it impossible to have an unknown ABI in CodeGen/IAS and added an assertion for it. When an unknown CPU is given, no default ABI is enabled by the Proc<> definitions and the assertion fails. I need to fix this case as well, but it seemed strange that ARM/X86 tests were being run on MIPS.

> -----Original Message-----
> From: Renato Golin [mailto:renato.golin at linaro.org]
> Sent: 25 February 2014 17:25
> To: Daniel Sanders
> Cc: llvm-commits at cs.uiuc.edu; amara.emerson at arm.com
> Subject: Re: [PATCH] Stop test/CodeGen/ARM/a15.ll targetting non-ARM
> targets.
> 
> 
>   Hi Daniel,
> 
>   I can clearly understand why this is needed, but I'm curious why doesn't it
> fail for everyone else?
> 
>   --renato
> 
> http://llvm-reviews.chandlerc.com/D2876




More information about the llvm-commits mailing list