Commit f787196f authored by Stefan O'Rear's avatar Stefan O'Rear Committed by Josh Bleecher Snyder
Browse files

cmd/compile: riscv: use full type for SUB used for comparison

Otherwise the SUB is being inferred as a boolean, which means that if
the values being compared have the same least significant byte they may
be erroneously seen as equal.

Change-Id: I471f0048a787a07833206ed5e8e863a1dfcbd28a
Reviewed-on: https://review.gerrithub.io/352838


Reviewed-by: default avatarJosh Bleecher Snyder <josharian@gmail.com>
parent 2e693a58
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment