This is an archive of the discontinued LLVM Phabricator instance.

[clang][LoongArch] Set MaxAtomicInlineWidth and MaxAtomicPromoteWidth for LoongArch
ClosedPublic

Authored by wangleiat on Oct 8 2022, 8:21 PM.

Diff Detail

Event Timeline

wangleiat created this revision.Oct 8 2022, 8:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2022, 8:21 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
wangleiat requested review of this revision.Oct 8 2022, 8:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2022, 8:21 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
xen0n accepted this revision.Oct 8 2022, 8:27 PM
This revision is now accepted and ready to land.Oct 8 2022, 8:27 PM
SixWeining accepted this revision.Oct 8 2022, 9:07 PM
SixWeining added inline comments.
clang/test/CodeGen/LoongArch/atomics.c
3

Nit: --

5

ditto

wangleiat updated this revision to Diff 466349.Oct 8 2022, 10:52 PM

Address @SixWeining's comment.

wangleiat marked 2 inline comments as done.Oct 8 2022, 10:53 PM

Thanks. @SixWeining

This revision was landed with ongoing or failed builds.Oct 11 2022, 3:48 AM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.EditedOct 11 2022, 4:05 AM

This seems to break check-clang: http://45.33.8.238/linux/88687/step_7.txt

Please take a look and revert for now if it takes a while to fix.

SixWeining reopened this revision.Oct 11 2022, 4:24 AM

This breaks test: Preprocessor/init-loongarch.c

This revision is now accepted and ready to land.Oct 11 2022, 4:24 AM
SixWeining requested changes to this revision.Oct 11 2022, 4:24 AM
This revision now requires changes to proceed.Oct 11 2022, 4:24 AM

This seems to break check-clang: http://45.33.8.238/linux/88687/step_7.txt

Please take a look and revert for now if it takes a while to fix.

Thanks a lot, I'll fix it right away.

wangleiat updated this revision to Diff 466775.Oct 11 2022, 5:09 AM

Fix Preprocessor/init-loongarch.c test failed.

SixWeining accepted this revision.Oct 11 2022, 5:35 AM
This revision is now accepted and ready to land.Oct 11 2022, 5:35 AM
This revision was landed with ongoing or failed builds.Oct 11 2022, 5:36 AM
This revision was automatically updated to reflect the committed changes.