[llvm-dev] zero_reg

Sky Flyer via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 22 01:12:00 PDT 2015


Hi all,

what is exactly "zero_reg"?

from ARMInstFromats.td:

*def pred : PredicateOperand<OtherVT, (ops i32imm, i32imm), (ops (i32 14),
(i32 zero_reg))> {...}*

I thought zero_reg can be replace by a random name like (alu_stat_reg for
alu state register) but when I compiled it, I figure out that zero_reg is a
predefined variable.

Can someone please give me more information about zero_reg and if possible
more about PredicateOperand operands.

Cheers,
ES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150922/fa0aab54/attachment.html>


More information about the llvm-dev mailing list