# stage2: Drop LLVM's host CPU detection method as fallback · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/893a4286569c9250c29eec8d1cff386ddbf38b3c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 893a4286569c9250c29eec8d1cff386ddbf38b3c

Requested commit: 893a4286569c9250c29eec8d1cff386ddbf38b3c

Commit: 893a4286569c9250c29eec8d1cff386ddbf38b3c

Tree: 7089652264d1cc2626455fb15c26197a1c1ae4a0

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage2: Drop LLVM's host CPU detection method as fallback

The CPU detection code is nearly at feature parity, we do support
detecting the native CPU on Sparc systems and macos, our ARM/AArch64
model list is quite comprehensive and so is our PPC one.

The only missing pieces are:
- ARM32 detection on Darwin hosts (I don't think anybody is planning on
  running the compiler on a old-ass iPhone)
- s390x detection on Linux hosts, this can be easily added at a later
  stage.

```

## Parents

- [7b7724628974067f1a66069699fd1433d32da50d](https://git.cafe/gitcafe/zig/commit/7b7724628974067f1a66069699fd1433d32da50d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/893a4286569c9250c29eec8d1cff386ddbf38b3c?format=markdown)
