This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix build on Windows on Arm
ClosedPublic

Authored by rovka on Sep 22 2021, 12:23 AM.

Details

Summary

clang-cl errors out while handling the templated version of tgfmt. This
patch works around the issue by explicitly choosing the non-templated
version of tgfmt, which takes an ArrayRef<std::string>.

More details in this thread:
https://lists.llvm.org/pipermail/cfe-dev/2021-September/068936.html

Diff Detail

Event Timeline

rovka created this revision.Sep 22 2021, 12:23 AM
rovka requested review of this revision.Sep 22 2021, 12:23 AM
rovka updated this revision to Diff 374177.Sep 22 2021, 4:05 AM
jpienaar accepted this revision.Sep 22 2021, 4:49 AM
This revision is now accepted and ready to land.Sep 22 2021, 4:49 AM
mehdi_amini accepted this revision.Sep 22 2021, 9:43 AM
This revision was landed with ongoing or failed builds.Sep 23 2021, 12:07 AM
This revision was automatically updated to reflect the committed changes.