[RISCV][NFC] Fix order of parameters in cmov ge/le tests
authorMichael Munday <mike.munday@lowrisc.org>
Fri, 15 Jan 2021 15:32:31 +0000 (15:32 +0000)
committerSam Elliott <selliott@lowrisc.org>
Fri, 15 Jan 2021 15:35:13 +0000 (15:35 +0000)
commitbf1aa5db5c76d187df8dfef28bc5b8889fb53c4b
tree89decf7226bf5f2164814fb6acbba2fe8bf5a120
parent5bf47e142b6ebe1baf0cab257800c27a1a3bbde7
[RISCV][NFC] Fix order of parameters in cmov ge/le tests

The first parameter should be selected if the condition is true and
the last parameter if the condition is false. Prior to this change
it was the other way round which was confusing.

Differential Revision: https://reviews.llvm.org/D94729
llvm/test/CodeGen/RISCV/rv32Zbt.ll
llvm/test/CodeGen/RISCV/rv64Zbt.ll