Displaying 7 results from an estimated 7 matches for "def_instr_end".
2017 Feb 21
2
Error at Pre-regalloc Machine LICM: "getVRegDef assumes a single definition or no definition"' failed.
...remat / high reg-pressure: %vreg94<def> = COPY %vreg86; BoolMask:%vreg94
MSA128D:%vreg86 dbg:IfVectorize.c:42:13
llc: /llvm/lib/CodeGen/MachineRegisterInfo.cpp:339: llvm::MachineInstr*
llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() ||
std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no
definition"' failed.
0 libLLVMSupport.so 0x00007f634e255700
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 72
1 libLLVMSupport.so 0x00007f634e255a9a
2 libLLVMSupport.so 0x00007f634e253b55 llvm::sys:...
2017 Sep 11
3
Live Register Spilling
Hi Matthias,
Sorry for the late reply.
Yes, you are correct, I do have optnone attribute on my function.
I did pass -O0 to the tools.
For your information, my invocations are as below:
clang --target=mips-unknown-linux -mips32 test.c -emit-llvm -S
llc -O0 -march=mips -mcpu=mips32 test.ll -o test.s
Based on the generated .ll file, there is optnone attribute on the function, i
2018 Sep 10
3
How to avoid multiple registers definitions in customInserter.
...n assertion is raised... !!
********** PROCESS IMPLICIT DEFS **********
********** Function: _start
llc: /home/dte/eclipse-workspace/llvm/lib/CodeGen/MachineRegisterInfo.cpp:366: llvm::MachineInstr* llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() || std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no definition"' failed.
LLVMSymbolizer: error reading file: No such file or directory
Here is the inner part of my customInserter.
Are there any additional actions to perform during the customInserter.
MachineBasicBlock *
CLPT...
2017 Sep 12
2
Live Register Spilling
...[llvm-dev] Live Register Spilling
Sorry about the previous message
This message showed up:
llc: /home/jc/Desktop/Project/For_Testing/llvm/lib/CodeGen/MachineRegisterInfo.cpp:366: llvm::MachineInstr* llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() || std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no definition"' failed.
I am assuming that i messed up the virtual register allocation when i am using BuildMI().
Also, i cannot invoke the clang as -O1 and so on as it will optimize my code and the generated .ll file will c...
2014 Oct 28
2
[LLVMdev] Problem in X86 backend (again)
...%EAX<def> = COPY %vreg5; GR32:%vreg5
RETQ %EAX
# End machine code for function main.
clang: /home/pyknite/work/ollvm/obfuscator-llvm/lib/CodeGen/MachineRegisterInfo.cpp:305: llvm::MachineInstr *llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() || std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no definition"' failed.
0 clang 0x00000000027c3645 llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 clang 0x00000000027c3e33
2 libpthread.so.0 0x00007fba6de1b200
3 libc.so.6 0x00007fba6cbcc967 gsignal + 55
4 libc.so.6 0x00007fba6cbc...
2017 Sep 14
2
Live Register Spilling
...ter Spilling
>
> Sorry about the previous message
> This message showed up:
> llc: /home/jc/Desktop/Project/For_Testing/llvm/lib/CodeGen/MachineRegisterInfo.cpp:366: llvm::MachineInstr* llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() || std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no definition"' failed.
> I am assuming that i messed up the virtual register allocation when i am using BuildMI().
>
> Also, i cannot invoke the clang as -O1 and so on as it will optimize my code and the generated .l...
2020 Jun 26
2
How to implement load/store for vector predicate register
Hi,
I am planning to expanding the pseudo instructions in XXXTargetLowering::EmitInstrWithCustomInserter(), and use temporary virtual registers as operands.
If I use virtual registers, do I need to mark them as "early clobber"?
I saw that sometimes they marked virtual register as "early clobber" in EmitInstrWithCustomInserter() in MIPS backend.
What is the effect of marking a