This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Add support for Hexagon
ClosedPublic

Authored by bcain on Mar 27 2020, 4:00 PM.

Details

Summary
  • add hexagon to DetectArchitecture
  • disable MiBench, DOE-ProxyApps-C* tests currently unable to support

Diff Detail

Event Timeline

bcain created this revision.Mar 27 2020, 4:00 PM
bcain updated this revision to Diff 254084.Mar 31 2020, 9:20 PM

Accidentally omitted context lines w/previous patch

This is my first change to the test-suite, let me know if I'm doing this right. :)

lebedev.ri added inline comments.Apr 1 2020, 12:35 AM
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

Can you please submit this as a pull request upstream?

bcain marked an inline comment as done.Apr 1 2020, 8:22 AM
bcain added inline comments.
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

Oh, you bet! I didn't know we could use PRs.

There's been a few threads and I've only skimmed them. Now that you mention it I might've seen one that mentioned test-suite and PRs.

bcain abandoned this revision.Apr 1 2020, 8:23 AM
lebedev.ri added inline comments.Apr 1 2020, 8:43 AM
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

I'm not sure what you mean.
I was only talking about MicroBenchmarks/libs/benchmark-1.3.0/* change,
about upstreaming it to https://github.com/google/benchmark

bcain reclaimed this revision.Apr 1 2020, 9:38 PM
bcain marked an inline comment as done.
bcain added inline comments.
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

Oh, whoops! Jumped the gun there.

Ok, will do. Once it lands there, do I make another review here to pull down the next release of that benchmark? Or does that happen naturally somehow?

bcain updated this revision to Diff 254416.Apr 1 2020, 9:39 PM
bcain edited the summary of this revision. (Show Details)

Omitted out-of-scope change to benchmark's cycleclock.h

lebedev.ri marked an inline comment as done.Apr 1 2020, 11:15 PM
lebedev.ri added inline comments.
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

Ok, will do. Once it lands there, do I make another review here to pull down the next release of that benchmark?

No, just cherry-pick that commit (note that there are at least 3 copies of benchmark within LLVM monorepo,
so you might want to patch them all at the same time..),
and add a comment about the cherry-pick into benchmark/README.llvm.

bcain marked an inline comment as done.Apr 2 2020, 6:44 AM

Any general review disposition for the latest patch w/only changes to MultiSource/Benchmarks/CMakeLists.txt and cmake/modules/DetectArchitecture.c?

MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

No, just cherry-pick that commit (note that there are at least 3 copies of benchmark within LLVM monorepo,

Ok, will do. I expect that it may be a while before I can contribute there but I'll get the process started.

lebedev.ri marked an inline comment as done.Apr 2 2020, 7:03 AM
lebedev.ri added inline comments.
MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h
85

Thanks!

bcain added a comment.Apr 2 2020, 6:51 PM

Any general review disposition for the latest patch w/only changes to MultiSource/Benchmarks/CMakeLists.txt and cmake/modules/DetectArchitecture.c?

Any thoughts on the remainder of the current state of the patch? Anything that should prevent me from merging this as-is?

@lebedev.ri @luismarques

bcain added a comment.Apr 6 2020, 9:39 AM

Any general review disposition for the latest patch w/only changes to MultiSource/Benchmarks/CMakeLists.txt and cmake/modules/DetectArchitecture.c?

Any thoughts on the remainder of the current state of the patch? Anything that should prevent me from merging this as-is?

@lebedev.ri @luismarques

Ping.

Any objections?

sidneym accepted this revision.Apr 9 2020, 8:31 AM

Missing context but otherwise looks ok to me.

This revision is now accepted and ready to land.Apr 9 2020, 8:31 AM
bcain closed this revision.Jun 3 2020, 7:57 AM