[PATCH] D150522: [LoongArch] Support CodeModel::Large codegen
WÁNG Xuěruì via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 03:58:34 PDT 2023
xen0n updated this revision to Diff 522114.
xen0n marked 4 inline comments as done.
xen0n added a comment.
- Rebased
- Fixed GOT accesses; LLVM is successfully bootstrapped and passes tests with this patch applied
- The `pcalau12i $scratch, ...` is now emitted first (to match existing assembler behavior)
- Added checks and assertions that ensure LA64 when the large code model is selected
- Comment additions and value renamings per review
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150522/new/
https://reviews.llvm.org/D150522
Files:
llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchBaseInfo.h
llvm/test/CodeGen/LoongArch/code-models.ll
llvm/test/CodeGen/LoongArch/codemodel-medium.ll
llvm/test/CodeGen/LoongArch/global-address.ll
llvm/test/CodeGen/LoongArch/tls-models.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150522.522114.patch
Type: text/x-patch
Size: 40322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/08b2e8ea/attachment.bin>
More information about the llvm-commits
mailing list