Uh oh!
There was an error while loading. Please reload this page.
[SVE] Check for SVE target in VectorizeLoop - #16893
Conversation
Uh oh!
There was an error while loading. Please reload this page.
ekalda
commented
Apr 16, 2024
This is a follow up from #16782, it makes sure that scalable vectors are created only for SVE target. In this implementation we check for target in function attributes, so we'd rely on |
9b91c53 to
8c95c41Compareekalda
commented
Apr 18, 2024
I moved the implementation to use the current target since changing the graph executor's pipeline is breaking lots of CUDA tests. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Check that we are compiling for an SVE enabled target when the extent of a loop marked for vectorizing has a vscale dependent extent.
Use Target::Current() in LoopVectorizer to check for SVE Change-Id: I15363bad540d6752d6c2098c93efce25c107309b
Change-Id: I0569534397a2d0db9587db6424b1674846a76079
8c95c41 to
acb0e74Comparelhutton1
commented
Apr 22, 2024
Thanks @ekalda! |
Check that we are compiling for an SVE enabled target when the extent of a loop marked for vectorizing is a vscale dependent expression.
The extent of a loop should be either a positive integer or an vscale dependent expression, in the latter case we'd expect the target to have
has_svefeature.