Displaying 1 result from an estimated 1 matches for "imp_def".
Did you mean:
cmp_dev
2013 Nov 17
1
[LLVMdev] A question about Greedy Register Allocator's reload instruction.
...?
Let me use MBlaze to explain that:
compile option: clang -target mblaze -O2 -S -mllvm -unroll-threshold=1024 -mllvm -unroll-allow-partial demo.c -o demo.s -mllvm -print-after-all
The IR after Virtual Register Rewriter whill show this situation as below:
"
BRLID R15, ga at printf, %R3<imp_def,dead>, %R4<imp_def,dead>, %R5<imp_def,dead>...
%R4<def>=LWI <fi#5>,0
ADJCALLSTACKUP 68, 0, %R1 <imp_def>, %R1<imp_def>
"
The instruction " %R4<def>=LWI <fi#5>,0" loads value from the stack, and it will use SP register a...