Displaying 2 results from an estimated 2 matches for "outlined_function_0".
2018 Apr 24
0
[RFC] Turn the MachineOutliner on by default in AArch64 under -Oz
Thanks for reducing that for me!
The outliner pulls out the following:
OUTLINED_FUNCTION_0: // @OUTLINED_FUNCTION_0
.cfi_sections .debug_frame
.cfi_startproc
// %bb.0:
adrp x29, g1
add x29, x29, :lo12:g1
adrp x30, g2 // This adrp shouldn’t have been outlined.
ret
It shouldn’t be pulling out that adrp. There’s a special case for...
2018 Apr 23
2
[RFC] Turn the MachineOutliner on by default in AArch64 under -Oz
Sorry, I was using a modified compiler, which by coincidence made the
bug much easier to reproduce.
In some rare cases, the compiler will use x30 as a general-purpose
register; in that case, outlining breaks because the "ret" branches to
the wrong address. Testcase (reproduce with "clang -O3
--target=aarch64-pc-linux-gnu -mllvm -enable-machine-outliner"):
extern long g1;