diff options
author | Hans Wennborg <hans@chromium.org> | 2021-09-24 18:44:20 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2021-09-24 18:52:30 +0200 |
commit | 1e9afab875696ebf1a8abb5637f04735411ee0b7 (patch) | |
tree | 7a1f3b039d6b39a2a1babea47247f15244733d73 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 321be24aa6808c5829f3433407e13603901849f4 (diff) | |
download | llvm-1e9afab875696ebf1a8abb5637f04735411ee0b7.zip llvm-1e9afab875696ebf1a8abb5637f04735411ee0b7.tar.gz llvm-1e9afab875696ebf1a8abb5637f04735411ee0b7.tar.bz2 |
Re-apply "[JumpThreading] Ignore free instructions"
It seems the crashes we saw wasn't caused by this (see comments on the review).
> This is basically D108837 but for jump threading. Free instructions
> should be ignored for the threading decision. JumpThreading already
> skips some free instructions (like pointer bitcasts), but does not
> skip various free intrinsics -- in fact, it currently gives them a
> fairly large cost of 2.
>
> Differential Revision: https://reviews.llvm.org/D110290
This reverts commit 4604695d7c20e72b551a1a5224f3de877cb41bd3.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions