about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-22 14:30:22 +0000
committerGitHub <noreply@github.com>2021-01-22 14:30:22 +0000
commit9c2a5776b205aebec2685966fc24f59dde7fe76a (patch)
treeba049a3d4573a2eec5e59dc7f972559cb1997775 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent70597f28f6a97015d3d02ee34a7fa076128f3f32 (diff)
parent758d855bff92cb35e13c5ae078639b862f02001f (diff)
downloadrust-9c2a5776b205aebec2685966fc24f59dde7fe76a.tar.gz
rust-9c2a5776b205aebec2685966fc24f59dde7fe76a.zip
Rollup merge of #81242 - jyn514:const-cap, r=sfackler
Enforce statically that `MIN_NON_ZERO_CAP` is calculated at compile time

Previously, it would usually get computed by LLVM, but this enforces it. This removes the need for the comment saying "LLVM is smart enough".

I don't expect this to make a performance difference, but I do think it makes the performance properties easier to reason about.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions