Skip to content
Unverified Commit effafedc authored by dan sinclair's avatar dan sinclair Committed by GitHub
Browse files

Replace opt::Instruction type and result cache with flags. (#1718)

Currentlty opt::Instruction class holds a cache of the result_id and
type_id for the instruction. That cache needs to be updated if the
underlying operand values are changes.

This CL changes the cache to being a flag if there is a type or result
id for the instruction. We then retrieve the value if needed from the
operands.
parent 3c196517
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