SuccessChanges

Summary

  1. [JumpThreading] Add a test for D85023; NFC (details)
  2. [JumpThreading] Consider freeze as a zero-cost instruction (details)
Commit 3401f9706be14f9c103542c8b6034a1126b9859e by aqjune
[JumpThreading] Add a test for D85023; NFC
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs-threshold.ll
Commit e0d99e9aaf51dac0555655cbf17909377ed37a27 by aqjune
[JumpThreading] Consider freeze as a zero-cost instruction

This is a simple patch that makes freeze as a zero-cost instruction, as bitcast already is.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85023
The file was modifiedllvm/test/Transforms/JumpThreading/thread-two-bbs-threshold.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp (diff)