Displaying 1 result from an estimated 1 matches for "emittest".
2015 Feb 03
2
[LLVMdev] RFC: Constant Hoisting
...ond doesn't get recognised because of the hoisting.
The result is some register allocation and unnecessary constant loading
instructions.
There are maybe three 'solutions' to this problem, maybe more.
Starting with the second, in the middle of things, you could try pattern
matching in
EmitTest() or LowerToBT(). I've tried this and it doesn't work since it
needs to reach
outside of a Selection DAG. Doesn't work. Can't work.
Thirdly, it's been suggested to use a peephole pass and to look at
AArch64LoadStoreOptimizer.cpp. This also doesn't work for pretty much the...