This is an archive of the discontinued LLVM Phabricator instance.

Fix openmp build on arm
AbandonedPublic

Authored by raj.khem on Jun 23 2021, 2:45 PM.

Details

Reviewers
jdoerfert
Summary

include mm_malloc.h for _mm_malloc/_mm_free definitions
define KMP_MFENCE to nothing in else case, since its used
unconditionally in kmp_barrier.cpp

Diff Detail

Event Timeline

raj.khem created this revision.Jun 23 2021, 2:45 PM
raj.khem requested review of this revision.Jun 23 2021, 2:45 PM
Herald added a project: Restricted Project. · View Herald Transcript
kkwli0 added a subscriber: kkwli0.Jun 23 2021, 5:51 PM

Does D104788 take care of it?

Does D104788 take care of it?

yes that fix works and is better than this one. So please ignore this one in favor of D104788