search for: riscvasmbackend

Displaying 12 results from an estimated 12 matches for "riscvasmbackend".

2018 Dec 03
5
Branch relaxation at assembler level (RISCV)
Hi all, I'm trying to implement the same branch relaxation mechanism implemented in CodeGen in the MC layer of RISCV.   beqz t1, L1   =>   bnez t1, L2   j L1 That's because LLVM does not apply the CodeGen optimizations when compiling directly from assembly code. What I'd like to do would be to add a pass that does that on the MC instructions or at least to find a way to
2020 Jan 06
2
Encode target-abi into LLVM bitcode for LTO.
...construction, so I use some little weird approach to init target-abi option before construct AsmBackend[1] or reassign target-abi option in getSubtargetImpl and do some hack in backend[2]. 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) I think [1] and [2] are not good enough, the other ideals like 3. encode target abi info in triple name. ex. riscv64-unknown-elf-lp64d 4. encode target-abi into in target-feature (maybe it's not a good ideal because mips reverted this approach before. http://llvm.org/viewvc/llvm-project?vi...
2020 Jan 06
2
Encode target-abi into LLVM bitcode for LTO.
...proach to init target-abi option before construct >> AsmBackend[1] or reassign target-abi option in getSubtargetImpl and do some >> hack in backend[2]. >> >> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) >> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >> >> I think [1] and [2] are not good enough, the other ideals like >> >> 3. encode target abi info in triple name. ex. riscv64-unknown-elf-lp64d >> 4. encode target-abi into in target-feature (maybe it's not a good ideal >> because mips reverted this app...
2020 Jan 07
2
Encode target-abi into LLVM bitcode for LTO.
...sign target-abi option in getSubtargetImpl and do some hack in backend[2]. > > 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy <https://reviews.llvm.org/D72245#change-sHyISc6hOqcy> (see llc.cpp) > 2. https://reviews.llvm.org/D72246 <https://reviews.llvm.org/D72246> (see RISCVAsmBackend.h) > > I think [1] and [2] are not good enough, the other ideals like > > 3. encode target abi info in triple name. ex. riscv64-unknown-elf-lp64d > 4. encode target-abi into in target-feature (maybe it's not a good ideal because mips reverted this approach > before. http://...
2020 Jan 07
2
Encode target-abi into LLVM bitcode for LTO.
...abi option in getSubtargetImpl and do some hack in backend[2]. >> >> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy <https://reviews.llvm.org/D72245#change-sHyISc6hOqcy> (see llc.cpp) >> 2. https://reviews.llvm.org/D72246 <https://reviews.llvm.org/D72246> (see RISCVAsmBackend.h) >> >> I think [1] and [2] are not good enough, the other ideals like >> >> 3. encode target abi info in triple name. ex. riscv64-unknown-elf-lp64d >> 4. encode target-abi into in target-feature (maybe it's not a good ideal because mips reverted this approach...
2020 Jan 08
3
Encode target-abi into LLVM bitcode for LTO.
...ckend[1] or reassign target-abi option in >>>>>> getSubtargetImpl and do some hack in backend[2]. >>>>>> >>>>>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) >>>>>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >>>>>> >>>>>> I think [1] and [2] are not good enough, the other ideals like >>>>>> >>>>>> 3. encode target abi info in triple name. ex. >>>>>> riscv64-unknown-elf-lp64d >>>>>> 4. encode t...
2020 Jan 09
2
Encode target-abi into LLVM bitcode for LTO.
...>> getSubtargetImpl and do some hack in backend[2]. >>>>>>>> >>>>>>>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp >>>>>>>> ) >>>>>>>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >>>>>>>> >>>>>>>> I think [1] and [2] are not good enough, the other ideals like >>>>>>>> >>>>>>>> 3. encode target abi info in triple name. ex. >>>>>>>> riscv64-unknown-elf-lp...
2020 Jan 10
2
Encode target-abi into LLVM bitcode for LTO.
...rd approach to init target-abi option before construct AsmBackend[1] or reassign target-abi option in getSubtargetImpl and do some hack in backend[2]. >>> >>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) >>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >>> >>> I think [1] and [2] are not good enough, the other ideals like >>> >>> 3. encode target abi info in triple name. ex. riscv64-unknown-elf-lp64d >>> 4. encode target-abi into in target-feature (maybe it's not a good ideal because mips reve...
2020 Jan 13
2
Encode target-abi into LLVM bitcode for LTO.
...t; before construct AsmBackend[1] or reassign target-abi option in >> getSubtargetImpl and do some hack in backend[2]. >> >>> >> >>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) >> >>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >> >>> >> >>> I think [1] and [2] are not good enough, the other ideals like >> >>> >> >>> 3. encode target abi info in triple name. ex. >> riscv64-unknown-elf-lp64d >> >>> 4. encode target-abi into in target-featur...
2020 Jan 15
2
Encode target-abi into LLVM bitcode for LTO.
...get-abi option in >>>> getSubtargetImpl and do some hack in backend[2]. >>>> >>> >>>> >>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see >>>> llc.cpp) >>>> >>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >>>> >>> >>>> >>> I think [1] and [2] are not good enough, the other ideals like >>>> >>> >>>> >>> 3. encode target abi info in triple name. ex. >>>> riscv64-unknown-elf-lp64d >>>> >&gt...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...gt; before construct AsmBackend[1] or reassign target-abi option in > getSubtargetImpl and do some hack in backend[2]. > > >>> > > >>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see llc.cpp) > > >>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) > > >>> > > >>> I think [1] and [2] are not good enough, the other ideals like > > >>> > > >>> 3. encode target abi info in triple name. ex. > riscv64-unknown-elf-lp64d > > >>> 4. encode target-abi into in target-featu...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...n target-abi option in >>> getSubtargetImpl and do some hack in backend[2]. >>> > >>> >>> > >>> 1. https://reviews.llvm.org/D72245#change-sHyISc6hOqcy (see >>> llc.cpp) >>> > >>> 2. https://reviews.llvm.org/D72246 (see RISCVAsmBackend.h) >>> > >>> >>> > >>> I think [1] and [2] are not good enough, the other ideals like >>> > >>> >>> > >>> 3. encode target abi info in triple name. ex. >>> riscv64-unknown-elf-lp64d >>> > >&g...