Skip to content
Unverified Commit 4dd5d967 authored by Craig Topper's avatar Craig Topper Committed by GitHub
Browse files

[RISCV] Don't call use_nodbg_operands for physical registers in...

[RISCV] Don't call use_nodbg_operands for physical registers in RISCVOptWInstrs hasAllNBitUsers. (#77032)

The ADDIW in the new test case was incorrectly removed due to
incorrectly following the x10 register from the return value back to the
argument. This is due to use_nodbg_operands returning every instruction
that uses a physical register regardless of the data flow.
parent c49965b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment