]> git.lizzy.rs Git - rust.git/commit
Auto merge of #36117 - eddyb:llvm-hoist-meta, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 30 Aug 2016 00:01:09 +0000 (17:01 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2016 00:01:09 +0000 (17:01 -0700)
commitaddb7537620feb228d6c9fe149b9c069d3686199
tree6213050d462e48a5086da7e35b4cd882229b3948
parent77d2cd28fd715d2b9751de82b14d28ce6e376728
parent61a639ec4e0006f21253e8133cd1da980ce042d1
Auto merge of #36117 - eddyb:llvm-hoist-meta, r=alexcrichton

llvm: backport "[SimplifyCFG] Hoisting invalidates metadata".

Fixes #36023 by backporting @majnemer's LLVM patch fixing [the LLVM bug](https://llvm.org/bugs/show_bug.cgi?id=29163.) where SimplifyCFG hoisted instructions andkept their metadata (conditional `!nonnull` loads could kill a null check later if hoisted).

r? @alexcrichton