Use bceqz/bcnez instead of movcf2gr + bnez/beqz for branch jumps.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D132824
[LoongArch] Support ISD::BR_CC and branch according to condition flag register ClosedPublic Authored by gonglingqin on Aug 28 2022, 11:37 PM.
Details Summary Use bceqz/bcnez instead of movcf2gr + bnez/beqz for branch jumps.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 29 2022, 7:25 PM Closed by commit rG6e47ebdcec77: [LoongArch] Support ISD::BR_CC and branch according to condition flag register (authored by gonglingqin). · Explain WhyAug 31 2022, 8:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 457160 llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/double-br-fcmp.ll
llvm/test/CodeGen/LoongArch/float-br-fcmp.ll
|