Displaying 3 results from an estimated 3 matches for "register_gcra".
2016 Feb 26
0
Help Required llc runtime error for simple MachineFunctionPass
...tion
GCRA() : MachineFunctionPass(id) {
}
bool runOnMachineFunction(MachineFunction &MFn) {
return false;
}
void getAnalysisUsage(AnalysisUsage &AU) const {
}
};
char GCRA::id = 0;
}
namespace llvm {
FunctionPass *createGCRA() { return new GCRA(); }
}
static RegisterRegAlloc register_gcra("gc",
"graph-coloring register allocator",
createGCRA);
Please help!
Sincerely,
*Vivek Pandya*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160226/ad096564/attachment.html>
2012 Nov 09
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...er all basic blocks in this fn } // end iterate over all vregs in this fn MRI->clearVirtRegs(); } // end setAllVreg }; // The library-inclusion mechanism requires the following: char Gcra::ID = 0; FunctionPass *createGcra() { return new Gcra(); } static RegisterRegAlloc register_gcra("gc", "graph-coloring register allocator", createGcra);}
-------------- next part --------------
/* CAUSES UNREACHABLE executed error */
#include <stdlib.h>
int main(int argc, char **argv) {
int a, b, c, x, y, z;
x = rand();
printf("x: %d\n", x);...
2012 Nov 08
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
Hi Susan,
In x86-64 the REX prefix must be used to access an extended register
(r8-r15 and their aliases), but cannot be used when accessing the high byte
of the ABCD regs (AH, BH, CH, DH). In your test case you have hardcoded
%vreg1 to R8B, and %vreg15 to AH, and the test case contains a copy between
these registers. The copy simultaneously must have a REX prefix, and cannot
have a REX prefix,