Auto merge of #91657 - nikic:update-llvm, r=cuviper

Update LLVM submodule

Update LLVM submodule with recent cherry-picks. In particular:
 * https://github.com/rust-lang/llvm-project/pull/123
 * https://github.com/rust-lang/llvm-project/pull/124
This commit is contained in:
bors 2021-12-13 13:37:53 +00:00
commit 06a6674a7d
2 changed files with 15 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2b9078f4afae82f60c5ac0fdb4af42d269e2f2f3
Subproject commit 8404254254e2b4c9a80e7403659f6391b08203df

View File

@ -0,0 +1,14 @@
// compile-flags: -O
#![crate_type = "lib"]
// CHECK: @func2 = {{.*}}alias{{.*}}@func1
#[no_mangle]
pub fn func1(c: char) -> bool {
c == 's' || c == 'm' || c == 'h' || c == 'd' || c == 'w'
}
#[no_mangle]
pub fn func2(c: char) -> bool {
matches!(c, 's' | 'm' | 'h' | 'd' | 'w')
}