diff options
author | Florian Hahn <flo@fhahn.com> | 2021-01-06 10:57:46 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-01-06 11:20:42 +0000 |
commit | 0ce5f402e0166a33bea01d577ce8ee32189d80e3 (patch) | |
tree | 8623ee8c44bd2af7ad5565657fdbe406d0de6da6 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 74438eff511e71dc33841546d89cb34206551d55 (diff) | |
download | llvm-0ce5f402e0166a33bea01d577ce8ee32189d80e3.zip llvm-0ce5f402e0166a33bea01d577ce8ee32189d80e3.tar.gz llvm-0ce5f402e0166a33bea01d577ce8ee32189d80e3.tar.bz2 |
[VPlan] Add getLiveInIRValue accessor to VPValue.
This patch adds a new getLiveInIRValue accessor to VPValue, which
returns the underlying value, if the VPValue is defined outside of
VPlan. This is required to handle scalars in VPTransformState, which
requires dealing with scalars defined outside of VPlan.
We can simply check VPValue::Def to determine if the value is defined
inside a VPlan.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D92281
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions