[llvm-commits] [PATCH] test/CodeGen/X86/constant-pool-remat-0.ll: Tweak to force all XMMs spilled, to let rematerialized on Win64.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Mar 16 11:26:09 PDT 2011
On Mar 16, 2011, at 4:50 AM, NAKAMURA Takumi wrote:
> Win64cc preserves some caller's XMMs. Then rematerialization would not
> be expected.
> ---
> test/CodeGen/X86/constant-pool-remat-0.ll | 21 ++++++++++++++++-----
> 1 files changed, 16 insertions(+), 5 deletions(-)
> ---
>
> I wonder this tweak, ... I could suppress Win64 if this were overkill.
That's a neat trick, but I don't think it is necessary.
The test is checking that the register allocator can fold constant pool loads instead of spilling an xmm register. That is not necessary on windows, so you can just force the triple to linux or darwin.
/jakob
More information about the llvm-commits
mailing list