ignore-debug: debug assertions in slice indexing prevent the optimization

This commit is contained in:
erikdesjardins 2020-06-17 13:10:49 -04:00 committed by GitHub
parent e0975b9b01
commit 6351850d8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
// no-system-llvm
// compile-flags: -O
// ignore-debug: the debug assertions get in the way
#![crate_type = "lib"]
// Make sure no bounds checks are emitted in the loop when upfront slicing