[llvm-commits] PATCH: Enable scalar store promotion in DAG Legalizer

Duncan Sands baldrick at free.fr
Fri Dec 7 09:49:35 PST 2012


Hi Tom,

> The attached patch removes an assert that prevents the DAG Legalizer
> from promoting scalar stores.  I'm not sure why this assert is here,
> but it seems safe to remove.

can you please add an assertion that the old and new types have the same
number of bits.  Otherwise it seems OK to me.

Ciao, Duncan.




More information about the llvm-commits mailing list