HomePhabricator

[X86] LowerAVXExtend - fix dodgy self-comparison assert.

Authored by RKSimon on Wed, Nov 6, 4:50 AM.

Description

[X86] LowerAVXExtend - fix dodgy self-comparison assert.

PVS Studio noticed that we were asserting "VT.getVectorNumElements() == VT.getVectorNumElements()" instead of "VT.getVectorNumElements() == InVT.getVectorNumElements()".

Details

Committed
RKSimonWed, Nov 6, 4:50 AM
Parents
rGd91ea7fc6fd0: [AArch64] Move the branch relaxation pass after BTI insertion
Branches
Unknown
Tags
Unknown