search for: delaycount

Displaying 2 results from an estimated 2 matches for "delaycount".

2009 Jan 19
2
[LLVMdev] HazardRecognizer and RegisterAllocation
...g1 noop noop add reg1, 1 load 0x1236, reg2 can be safely transformed to: load 0x1234, reg1 load 0x1236, reg2 noop add reg1, 1 ---- It pleased us quite a lot when we found the HazardRecognizer-class. Without much effort we could assist LLVM to transform code like shown above (with simple (SDUse, delayCount)-map). Unfortunately we found now out that the HazardRecognizer is used only before register allocation, and the register allocator obviously may reschedule instructions, but doesn't take hazard recognition into account. Is there a switch/option we overlooked to bind the hazardRecognizer to t...
2009 Jan 19
0
[LLVMdev] HazardRecognizer and RegisterAllocation
...afely transformed to: > > load 0x1234, reg1 > load 0x1236, reg2 > noop > add reg1, 1 > > ---- > > It pleased us quite a lot when we found the HazardRecognizer-class. > Without much effort we could assist LLVM to transform code like shown > above (with simple (SDUse, delayCount)-map). > > Unfortunately we found now out that the HazardRecognizer is used only > before register allocation, and the register allocator obviously may > reschedule instructions, but doesn't take hazard recognition into > account. The register allocator doesn't reschedule...