Displaying 5 results from an estimated 5 matches for "v3i16".
Did you mean:
v1i16
2012 Feb 29
2
[LLVMdev] Expand vector type
...confirm?
Thanks,
Javier
From: James Molloy [mailto:james.molloy at arm.com]
Sent: Wednesday, February 29, 2012 2:35 AM
To: Martinez, Javier E; llvmdev at cs.uiuc.edu
Subject: RE: Expand vector type
Hi,
* Is there a way to setup LLVM to automatically convert vec3s to vec4s?
Yes, if you specify v3i16 and friends as "promote" instead of "legal", llvm will promote it to a v4i16. The ARM NEON backend does this already. I'm surprised you haven't got this happening already as you mention that LLVM widens your loads to 4-element vectors... (this should happen during DAG ty...
2012 Feb 29
0
[LLVMdev] Expand vector type
Hi,
* Is there a way to setup LLVM to automatically convert vec3s to vec4s?
Yes, if you specify v3i16 and friends as "promote" instead of "legal", llvm
will promote it to a v4i16. The ARM NEON backend does this already. I'm
surprised you haven't got this happening already as you mention that LLVM
widens your loads to 4-element vectors. (this should happen during DAG type...
2012 Feb 29
2
[LLVMdev] Expand vector type
Hello,
My input language has support for 3 and 4 element vectors but my target only has support for the latter. The language defines vec3 with the same storage space as vec4 so from a backend perspective they are both the same. I'd really like if I could have LLVM treat vec3 as vec4 but I haven't found out how.
Currently the target has emulated support for vec3 through LLVM. Loads are
2012 Mar 05
0
[LLVMdev] Expand vector type
...ilto:[mailto:james.molloy at arm.com]>
Sent: Wednesday, February 29, 2012 2:35 AM
To: Martinez, Javier E; llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>
Subject: RE: Expand vector type
Hi,
* Is there a way to setup LLVM to automatically convert vec3s to vec4s?
Yes, if you specify v3i16 and friends as "promote" instead of "legal", llvm will promote it to a v4i16. The ARM NEON backend does this already. I'm surprised you haven't got this happening already as you mention that LLVM widens your loads to 4-element vectors... (this should happen during DAG ty...
2012 Mar 05
1
[LLVMdev] Expand vector type
...February 29, 2012 2:35 AM
> *To:* Martinez, Javier E; llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu>
> *Subject:* RE: Expand vector type
>
> Hi,
>
> * *Is there a way to setup LLVM to automatically convert vec3s to vec4s? *
>
> **
>
> Yes, if you specify v3i16 and friends as “promote” instead of “legal”, llvm will
> promote it to a v4i16. The ARM NEON backend does this already. I’m surprised you
> haven’t got this happening already as you mention that LLVM widens your loads to
> 4-element vectors… (this should happen during DAG type legalization...