[PATCH] D96663: [InstCombine] Fold nonnull (select c,null,p) to nonnull p

Miguel Ojeda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 21:29:48 PST 2021


ojeda added a comment.

> Is it possible to compile Rust using a custom LLVM build?

Yeah, it is, although currently it is based on LLVM 11. For LLVM 12 support, take a look at https://github.com/rust-lang/rust/pull/81451. For LLVM 13, you probably need further tweaks.

When you configure Rust for building, use options like:

  [llvm]
  download-ci-llvm = false
  skip-rebuild = true
  
  [target.x86_64-unknown-linux-gnu]
  llvm-config = "../your-custom-llvm-build/bin/llvm-config"

In general, take a look at `config.toml.example`, with `src/bootstrap/defaults/config.codegen.toml` as a start.

The guide is at https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96663/new/

https://reviews.llvm.org/D96663



More information about the llvm-commits mailing list