Reference:
https://llvm.org/docs/LangRef.html#fneg-instruction
Depends on D127199
Paths
| Differential D127200
[LoongArch] Add codegen support for fneg ClosedPublic Authored by SixWeining on Jun 7 2022, 4:35 AM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 7 2022, 5:31 AM Comment Actions This is just one fneg so you may change the title to just "[LoongArch] Add codegen support for fneg" instead. Otherwise it looks good! SixWeining retitled this revision from [LoongArch 2/n] Add codegen support for the unary operation to [LoongArch] Add codegen support for fneg.Jun 9 2022, 2:03 AM Comment Actions
Thanks. I just updated the title. Comment Actions Remove the patch number in the title. (I already remove it in Phabricator yesterday.) MaskRay added inline comments.
This revision was landed with ongoing or failed builds.Jun 19 2022, 6:54 PM Closed by commit rGefc70058d90d: [LoongArch] Add codegen support for fneg (authored by SixWeining). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436183 llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
llvm/test/CodeGen/LoongArch/ir-instruction/fneg.ll
llvm/test/CodeGen/LoongArch/ir-instruction/fsub.ll
|
Consider placing some arithmetic tests in one file, instead of one file for each instruction.
This may run llc too many times, slowing down testsuite execution.