This is an archive of the discontinued LLVM Phabricator instance.

Remove unused wait/release code.
ClosedPublic

Authored by tlwilmar on Jun 14 2016, 11:58 AM.

Details

Summary

Cleanup - unused code removal.
TODO: consider to remove (replace with flag class methods) also
kmp_wait_64 and kmp_release_64 routines.

Patch by Andrey Churbanov

Diff Detail

Repository
rL LLVM

Event Timeline

tlwilmar updated this revision to Diff 60714.Jun 14 2016, 11:58 AM
tlwilmar retitled this revision from to Remove unused wait/release code..
tlwilmar updated this object.
tlwilmar added reviewers: jlpeyton, hbae.
tlwilmar set the repository for this revision to rL LLVM.
tlwilmar added a subscriber: openmp-commits.
hbae accepted this revision.Jun 14 2016, 12:14 PM
hbae edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jun 14 2016, 12:14 PM
This revision was automatically updated to reflect the committed changes.

No, we just use a different mechanism now for all the other flag types (template classes in kmp_wait_release.h). Eventually 64 bit flags might be always be able to use the same mechanism (and some of them already do), but it requires more code refactoring for cases that don’t currently use the flag templates.

From: Yonghong Yan [mailto:yanyh15@gmail.com]
Sent: Tuesday, June 14, 2016 2:44 PM
To: reviews+D21332+public+a169a41bbeffbe44@reviews.llvm.org; Peyton, Jonathan L <jonathan.l.peyton@intel.com>
Cc: Wilmarth, Terry L <terry.l.wilmarth@intel.com>; Bae, Hansang <hansang.bae@intel.com>; openmp-commits@lists.llvm.org
Subject: Re: [Openmp-commits] [PATCH] D21332: Remove unused wait/release code.

Does that mean 32-bit support is being removed? how about those *_4 and *_4u ones, e.g. kmpc_dispatch_fini_4u? I know those kmpc are compiler interfaces.

If no 32-bit, how about also kmp_wait_64 to kmp_wait ?