[all-commits] [llvm/llvm-project] f4d61c: [CSKY] Lower ISD::ConstantPool node to support get...
Zi Xuan Wu (Zeson) via All-commits
all-commits at lists.llvm.org
Sun Nov 20 18:42:26 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4d61cdf9cc3a24d08fc0145a567a339ac347cdb
https://github.com/llvm/llvm-project/commit/f4d61cdf9cc3a24d08fc0145a567a339ac347cdb
Author: Zi Xuan Wu (Zeson) <zixuan.wu at linux.alibaba.com>
Date: 2022-11-21 (Mon, 21 Nov 2022)
Changed paths:
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/CSKY/CSKYConstantIslandPass.cpp
M llvm/lib/Target/CSKY/CSKYConstantPoolValue.cpp
M llvm/lib/Target/CSKY/CSKYConstantPoolValue.h
M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
M llvm/lib/Target/CSKY/CSKYISelLowering.h
M llvm/lib/Target/CSKY/CSKYInstrInfo.td
M llvm/lib/Target/CSKY/CSKYInstrInfo16Instr.td
A llvm/test/CodeGen/CSKY/constantpool.ll
Log Message:
-----------
[CSKY] Lower ISD::ConstantPool node to support getting the address of ConstantPool entry
When there is not GRS or MOVIH/ORI instruction, we can not get the address of
ConstantPool entry directly. So we need put the address into ConstantPool to leverage CSKY::LRW instruction.
More information about the All-commits
mailing list