[LLVMdev] LLC ARM Backend maintainer

Rotem, Nadav nadav.rotem at intel.com
Sat Oct 8 10:53:12 PDT 2011


"CodeGen/ARM/vrev.ll" is one of the failing tests. You can make it fail if you run it with '-promote-elements'. 

Here is a short description from PR10902:

The failure in CodeGen/ARM/vrev.ll is due to the lack of support for
legalizing trunc-store/load on ARM. The code we have in LegalizeDAG assumes that the
scalars making the saved vector are legal. So, the vector <2 x i16> is
scalarized to two i16, which are illegal on ARM. 


-----Original Message-----
From: Anton Korobeynikov [mailto:anton at korobeynikov.info] 
Sent: Saturday, October 08, 2011 19:46
To: Rotem, Nadav
Cc: Tanya Lattner; llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] LLC ARM Backend maintainer

Hi Nadav,

> The new type-legalization mode (-promote-elements) which enables vector-select in LLVM (and a nice perf boost for several workloads), is currently disabled because of a _single_ bug in the ARM codegen which makes a few tests fail.  If ARM is not a supported target, can I mark these tests as 'XFAIL' and enable vector-select support in LLVM ?
Which testcase is it?

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the llvm-dev mailing list