aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-11-07 17:07:31 -0800
committerGitHub <noreply@github.com>2024-11-07 17:07:31 -0800
commit037f8044f69f88101620707af1db948e6804e080 (patch)
treefd8de62af874adb51edcddef7b06fddc5003e28d /llvm/lib/CodeGen/MachineScheduler.cpp
parent74deb661dfa9301ec6fed46114e59317b1503ded (diff)
downloadllvm-037f8044f69f88101620707af1db948e6804e080.zip
llvm-037f8044f69f88101620707af1db948e6804e080.tar.gz
llvm-037f8044f69f88101620707af1db948e6804e080.tar.bz2
[RISCV][GISel] Add fcopysign tests with mismatched types. NFC (#115364)
fcopysign takes two operands, one for the magnitude and exponent and the other for the sign. The result type is determined by the magnitude and exponent operand. The sign operand does not need to be the same type. Note, in IR all 3 types must match. We have isel patterns for all possible combinations of types and the legalizer thinks they are all legal, but we had no tests for it. I was unable to find any combiner rules that would create an instruction with mismatch types.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions