[all-commits] [llvm/llvm-project] f3b4c2: [RISCV] Adjust the Zfhmin handling in RISCVInstrIn...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Jul 16 20:22:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3b4c266e8efa7828514e727061963d5510e81c9
https://github.com/llvm/llvm-project/commit/f3b4c266e8efa7828514e727061963d5510e81c9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-07-16 (Sun, 16 Jul 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Log Message:
-----------
[RISCV] Adjust the Zfhmin handling in RISCVInstrInfo::copyPhysReg.
Instead of checking '!Zfh && Zhfmin' first, handle Zfh. Then assert
that the other case is F+Zfhmin. The F+Zfhmin check will need to be
relaxed for bfloat16 support. As it was written before there would
be now error to catch that. Instead it would just silently create
fsgnj.h instructions.
More information about the All-commits
mailing list