[cfe-dev] Why does ABI on amd64 require bit extension of function arguments smaller than 32 bits?

Yuri via cfe-dev cfe-dev at lists.llvm.org
Fri Nov 4 15:58:06 PDT 2016


I noticed that clang adds signext or zeroext attribute to all such 
function arguments. Why is this required? Isn't bit extension by the 
callee only when needed more efficient?


Yuri




More information about the cfe-dev mailing list