This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP, test] Fix use of undef DECL FileCheck var
ClosedPublic

Authored by thopre on Apr 1 2021, 2:48 PM.

Details

Summary

OpenMP test target_data_use_device_ptr_if_codegen contains a CHECK-NOT
directive using an undefined DECL FileCheck variable. It seems copied
from target_data_use_device_ptr_codegen where there's a CHECK for a load
that defined the variable. Since there is no corresponding load in this
testcase, the simplest is to simply forbid any store and get rid of the
variable altogether.

Diff Detail

Event Timeline

thopre created this revision.Apr 1 2021, 2:48 PM
thopre requested review of this revision.Apr 1 2021, 2:48 PM
Herald added a project: Restricted Project. · View Herald Transcript
ABataev accepted this revision.Apr 1 2021, 3:25 PM

LG, thanks

This revision is now accepted and ready to land.Apr 1 2021, 3:25 PM
This revision was automatically updated to reflect the committed changes.