This is an archive of the discontinued LLVM Phabricator instance.

[test, LoopVectorize] Fix use of var defined in CHECK-NOT
ClosedPublic

Authored by thopre on Mar 30 2021, 5:54 AM.

Details

Summary

LLVM test Transforms/LoopVectorize/X86/x86-pr39099.ll tries to check for
the absence of a sequence of instructions with several CHECK-NOT with
one of those directives using a variable defined in another. However
CHECK-NOT are checked independently so that is using a variable defined
in a pattern that should not occur in the input.

This commit only checks for the absence of a widened load which rules
out the presence of the whole sequence and does not involve an undefined
variable.

Diff Detail

Event Timeline

thopre created this revision.Mar 30 2021, 5:54 AM
thopre requested review of this revision.Mar 30 2021, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 5:54 AM
fhahn accepted this revision.Mar 30 2021, 7:05 AM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 30 2021, 7:05 AM
This revision was automatically updated to reflect the committed changes.