Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs

Thomas Gleixner
2019-06-26T19:46:26Z

On Wed, 26 Jun 2019, Nathan Chancellor wrote:
> On Wed, Jun 26, 2019 at 05:18:37PM +0200, Thomas Gleixner wrote:
> > tarball with log and the preprocessed source and run scripts:
> >
> > https://tglx.de/~tglx/tc-crash.tar.bz2
> >
> > The machine runs up to date debian stretch which has backports enabled and
> > I just used the install command from the github project page you linked
> > to. Getting started section.
> >
> Great, thank you! It explodes during lowering, which is a backend issue
> so that's fun :/
>
> My guess is that this is a problem with -march=native on that version of
> LLVM (since a newer one works). Could you try this patch that makes that
> opt-in and see if that fixes it?
>
> https://github.com/nathanchance/tc-build/commit/9f1ae41cd4246f9e4d011542f094aa0df2c069b4

clang --version
clang version 3.8.1-24 (tags/RELEASE_381/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

./build-llvm.py
...
LLVM build duration: 0:03:14

Tested-by: Thomas Gleixner <tglx@linutronix.de>