Displaying 6 results from an estimated 6 matches for "fromreg".
2014 Jan 17
2
[LLVMdev] Invalid RegNum error
I'm writing a compiler using LLVM, and suddenly today I started to get this
error, when emitting to a .s file.
Assertion failed: (I != M+Size && I->FromReg == RegNum && "Invalid
RegNum"), function getLLVMRegNum, file MCRegisterInfo.cpp, line 78.
I'm emitting using x86_64-apple-darwin. Any thoughts about what could be
causing this? LLVM validation does not report any errors.
Timothy
--
“One of the main causes of the fall of th...
2006 Sep 17
0
[LLVMdev] how to declare that two registers must be different
...ly instruction of the form Rd=Rm*Rs where Rd != Rm.
> How can I add this requirement to the instruction definition?
Unfortunately there is currently no great way to do this. Some options
are:
1. Pin one operand to a specific register, one that isn't allocated (e.g.
R12). Use copyto/fromreg to get to it. They other would be allocated
to some different reg.
2. Allocate like normal, and then do a post-pass. The post-pass would
scan for the bad instruction, and if found insert compensation code to
copy in/out of some other reg (again, R12 would a natural choice).
I'd l...
2006 Sep 17
2
[LLVMdev] how to declare that two registers must be different
The ARM has a multiply instruction of the form
Rd=Rm*Rs
where Rd != Rm. How can I add this requirement to the instruction definition?
Thanks,
Rafael
2018 Nov 03
2
llvm bug 36466 fix
Hi
I come across the following exception when I use the llvm-dwarfdump
-debug-info target_binary:
llvm-dwarfdump: /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:87: int
llvm::MCRegisterInfo::getLLVMRegNum(unsigned int, bool) const: Assertion `I
!= M+Size && I->FromReg == RegNum && "Invalid RegNum"' failed.
Stack dump:
0. Program arguments: /home/linux/llvm-7/llvm/build/bin/llvm-dwarfdump
-debug-info C++/483.xalancbmk.O1
#0 0x000000000093ab37 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/linux/llvm-7/llvm/lib/Support/Unix/Sig...
2018 Nov 03
2
llvm bug 36466 fix
...following exception when I use the llvm-dwarfdump
>> -debug-info target_binary:
>>
>> llvm-dwarfdump: /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:87: int
>> llvm::MCRegisterInfo::getLLVMRegNum(unsigned int, bool) const: Assertion `I
>> != M+Size && I->FromReg == RegNum && "Invalid RegNum"' failed.
>> Stack dump:
>> 0. Program arguments:
>> /home/linux/llvm-7/llvm/build/bin/llvm-dwarfdump -debug-info
>> C++/483.xalancbmk.O1
>> #0 0x000000000093ab37 llvm::sys::PrintStackTrace(llvm::raw_ostream&)...
2018 Nov 03
2
llvm bug 36466 fix
...-dwarfdump
>>>> -debug-info target_binary:
>>>>
>>>> llvm-dwarfdump: /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:87:
>>>> int llvm::MCRegisterInfo::getLLVMRegNum(unsigned int, bool) const:
>>>> Assertion `I != M+Size && I->FromReg == RegNum && "Invalid RegNum"' failed.
>>>> Stack dump:
>>>> 0. Program arguments:
>>>> /home/linux/llvm-7/llvm/build/bin/llvm-dwarfdump -debug-info
>>>> C++/483.xalancbmk.O1
>>>> #0 0x000000000093ab37 llvm::sys:...