[bugpoint] Implement replacing a single instruction by several ones;
This allows replacing a function that has N results with N instructions with the same result type. It also narrows down typing, so that instructions creating F32/F64 values are replaced with a constant of the correct type.
This commit is contained in:
@@ -300,8 +300,7 @@ ebb0(v0: i64, v1: i64, v2: i64):
|
||||
v241 -> v1
|
||||
v256 -> v1
|
||||
v262 -> v1
|
||||
v3 = stack_addr.i64 ss0
|
||||
v4 = load.i64 aligned v2
|
||||
v3, v4 = x86_sdivmodx v0, v1, v2
|
||||
store aligned v4, v3
|
||||
v5 = load.i64 aligned v2+8
|
||||
store aligned v5, v3+8
|
||||
|
||||
Reference in New Issue
Block a user