[llvm-commits] [llvm] r127766 - in /llvm/trunk: docs/LangRef.html include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h test/CodeGen/X86/bool-zext

Ken Dyck kd at kendyck.com
Thu Mar 17 04:30:18 PDT 2011


On Wed, Mar 16, 2011 at 6:20 PM, Cameron Zwarich <zwarich at apple.com> wrote:
> --- llvm/trunk/docs/LangRef.html (original)
> +++ llvm/trunk/docs/LangRef.html Wed Mar 16 17:20:18 2011
> @@ -1017,8 +1017,9 @@
>  <dl>
>   <dt><tt><b>zeroext</b></tt></dt>
>   <dd>This indicates to the code generator that the parameter or return value
> -      should be zero-extended to a 32-bit value by the caller (for a parameter)
> -      or the callee (for a return value).</dd>
> +      should be zero-extended to the extent required by the target's ABI (which
> +      is usually 32-bits, but is 8-bits for a i1 on x86-64) by the caller (for a
> +      parameter) or the callee (for a return value).</dd>
>
>   <dt><tt><b>signext</b></tt></dt>
>   <dd>This indicates to the code generator that the parameter or return value

Shouldn't the description of signext get similar modifications?

-Ken




More information about the llvm-commits mailing list