diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-09-01 00:27:03 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-09-01 00:27:03 +0300 |
| commit | f5c775274275fa34b068ddf802bd528f790f7af8 (patch) | |
| tree | 246ef533804341a89b18a3d5c6ac29c59b3dfee5 | |
| parent | 4473130f4e0a20278225251ea6a0400258b03180 (diff) | |
| download | rust-f5c775274275fa34b068ddf802bd528f790f7af8.tar.gz rust-f5c775274275fa34b068ddf802bd528f790f7af8.zip | |
Fix optimization regressions for operations on [x; n]-initialized arrays.
| -rw-r--r-- | src/librustc_trans/tvec.rs | 2 | ||||
| m--------- | src/llvm | 0 | ||||
| -rw-r--r-- | src/rustllvm/llvm-auto-clean-trigger | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_trans/tvec.rs b/src/librustc_trans/tvec.rs index 7e4719870cd..cf897fc5a15 100644 --- a/src/librustc_trans/tvec.rs +++ b/src/librustc_trans/tvec.rs @@ -52,7 +52,7 @@ pub fn slice_for_each<'blk, 'tcx, F>(bcx: Block<'blk, 'tcx>, let current = Phi(header_bcx, val_ty(start), &[start], &[bcx.llbb]); let keep_going = - ICmp(header_bcx, llvm::IntULT, current, end, DebugLoc::None); + ICmp(header_bcx, llvm::IntNE, current, end, DebugLoc::None); CondBr(header_bcx, keep_going, body_bcx.llbb, next_bcx.llbb, DebugLoc::None); let body_bcx = f(body_bcx, if zst { data_ptr } else { current }); diff --git a/src/llvm b/src/llvm -Subproject eee68eafa7e8e4ce996b49f5551636639a6c331 +Subproject 16b79d01fd6d942cf3c9120b92df56b13ec9266 diff --git a/src/rustllvm/llvm-auto-clean-trigger b/src/rustllvm/llvm-auto-clean-trigger index 67f8730c258..1080070d21a 100644 --- a/src/rustllvm/llvm-auto-clean-trigger +++ b/src/rustllvm/llvm-auto-clean-trigger @@ -1,4 +1,4 @@ # If this file is modified, then llvm will be forcibly cleaned and then rebuilt. # The actual contents of this file do not matter, but to trigger a change on the # build bots then the contents should be changed so git updates the mtime. -2016-08-23 +2016-08-30 |
