File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -852,17 +852,27 @@ Common_VISA_EMask_Ctrl CEncoder::GetAluEMask(CVariable* dst)
852
852
{
853
853
e_mask mask = m_encoderState.m_mask ;
854
854
bool noMask = m_encoderState.m_noMask ;
855
- if (dst && (dst-> IsUniform () || m_encoderState. m_SubSpanDestination ) )
855
+ if (dst)
856
856
{
857
- if (dst-> GetVarType () == EVARTYPE_ADDRESS )
857
+ if (m_encoderState. m_SubSpanDestination )
858
858
{
859
- noMask |= dst-> IsVectorUniform () ;
859
+ noMask = true ;
860
860
}
861
861
else
862
862
{
863
- noMask = true ;
863
+ if (dst->GetVarType () == EVARTYPE_ADDRESS)
864
+ {
865
+ if (dst->IsVectorUniform () && dst->IsUniform ())
866
+ {
867
+ noMask = true ;
868
+ }
869
+ }
870
+ else if (dst->IsUniform ())
871
+ {
872
+ noMask = true ;
873
+ }
864
874
}
865
- }
875
+ }
866
876
867
877
return ConvertMaskToVisaType (mask, noMask);
868
878
}
You can’t perform that action at this time.
0 commit comments