Skip to content
Unverified Commit c9190a54 authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

SSA rewriter: Don't use trivial phis (#2757)

When a phi candidate is marked as trivial, we are suppose to update all
of its uses to the reference the value that it is being folded to.
However, the code updates the uses misses `defs_at_block_`.  So at a
later time, the id for the trivial phi can reemerge.

Fixes #2744
parent aea4e6b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment