Skip to content
Commit 133e50db authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV][GISel] Directly emit X0 from getICMPOperandsForBranch instead of using...

[RISCV][GISel] Directly emit X0 from getICMPOperandsForBranch instead of using buildConstant+selectConstant.

This is simpler to implement and matches what SelectionDAG emits.

Also allows us to make getICMPOperandsForBranch a static function.
parent 1a2e77cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment