diff options
author | Kazushi (Jam) Marukawa <marukawa@nec.com> | 2020-12-05 16:53:39 +0900 |
---|---|---|
committer | Kazushi (Jam) Marukawa <marukawa@nec.com> | 2020-12-09 06:33:53 +0900 |
commit | 95ea50e4adf76b75fcc0ad29cacd10642db091a6 (patch) | |
tree | eb69a3eeaef751c7ab2a81b0c3f80e8ba988df0e /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 85c18d3521e87a22c742be512245665d6bb5bfe2 (diff) | |
download | llvm-95ea50e4adf76b75fcc0ad29cacd10642db091a6.zip llvm-95ea50e4adf76b75fcc0ad29cacd10642db091a6.tar.gz llvm-95ea50e4adf76b75fcc0ad29cacd10642db091a6.tar.bz2 |
[VE] Correct LVLGen (LVL instruction insert pass)
SX Aurora VE uses an intermediate representation similar to VP as its MIR.
VE itself uses invidiual VL register as its own vector length register at
the hardware level. So, LLVM needs to insert load VL (LVL) instruction just
before vector instructions if the value of VL is changed. This LVLGen pass
generates LVL instructions for such purpose. Previously, a bug is pointed
out in D91416. This patch correct this bug and add a regression test.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D92716
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions