[llvm-dev] [GlobalISel] G_LOAD/G_STORE i64/f64 handling

Breger, Igor via llvm-dev llvm-dev at lists.llvm.org
Sun Jul 2 03:50:23 PDT 2017

Hi all,
I am working on enabling X86 using  GLobalIsel framework.
I have 32bit platform + float/double  configuration (-mtriple=i386-linux-gnu -mattr=+sse2 )
               load i64, i64* %p1                   -   illegal, require narrowScalar action
               load double, double * %p1   -    legal

What is the best approach to Legalize this case ? Should I mark G_LOAD/G_STORE s64 as Custom?

Igor Breger
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170702/88f190e1/attachment.html>

More information about the llvm-dev mailing list