Skip to content
Unverified Commit 7fd2365b authored by alan-baker's avatar alan-baker Committed by GitHub
Browse files

Don't move debug or decorations when folding (#2772)

Fixes #2764

* Don't replace all uses when simplifying instructions, instead only
update non-debug, non-decoration uses
  * added a test
* Add a new version of RAUW that takes a predicate to decide whether to
replace the use or not
  * used in simplification pass
parent 7bafeda2
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