diff options
| author | Hans Wennborg <hans@chromium.org> | 2021-09-24 16:14:53 +0200 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2021-09-24 16:14:53 +0200 |
| commit | 4604695d7c20e72b551a1a5224f3de877cb41bd3 (patch) | |
| tree | 5a356c9d3fbd6419a0ba0d23f53879668e20b2bb /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | ad890aa2327feb6b6aee676fe85b2352fba2403e (diff) | |
| download | llvm-4604695d7c20e72b551a1a5224f3de877cb41bd3.zip llvm-4604695d7c20e72b551a1a5224f3de877cb41bd3.tar.gz llvm-4604695d7c20e72b551a1a5224f3de877cb41bd3.tar.bz2 | |
Revert "[JumpThreading] Ignore free instructions"
It caused compiler crashes, see comment on the code review for repro.
> 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 1e3c6fc7cb9d2ee6a5328881f95d6643afeadbff.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
