OpenMP runtime requires depend vec with i64 type and the alignment of
store instruction should be set as 8.
Details
Details
- Reviewers
kiranchandramohan ftynse Meinersbur clementval Leporacanthicus kiranktp jdoerfert arnamoy10 bryanpkc shraiysh NimishMishra - Commits
- rG2291413554ff: [NFC] Apply the fix for different signedness warning in OpenMPIRBuilderTest.cpp
rGf52805539b29: [OMPIRBuilder] Fix store inst alignment for ordered depend directive
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks Kiran. The i64 vec change LGTM (I still didn't understand why the alignment has to be 8).
Comment Actions
Actually, the 4-byte alignment can also give correct running result. But the value is always stored with the type of integer 64, and the 8-byte alignment is more reasonable.