[llvm] [RISCV] Remove duplicate WriteRes<WriteJalr for MIPSP8700. (PR #123865)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 10:29:46 PST 2025


topperc wrote:

> > Is this something we should enforce in TableGen -- no duplicates allowed?
> 
> does #123876 enforce this? Specifically when it's adding new WriteRes into the map.

Yes. It was enforce previously, but https://github.com/llvm/llvm-project/pull/92202 broke it. Without the early exit in the loop we would find two different WriteRes with the same WriteType.

#123876 adds back enforcement when we add to the map.

https://github.com/llvm/llvm-project/pull/123865


More information about the llvm-commits mailing list