search for: 342e373b

Displaying 2 results from an estimated 2 matches for "342e373b".

2010 Sep 02
0
[LLVMdev] Register design decision for backend
Indeed, if you remove the i16 regs registration by removing the call to addRegisterClass() it works as expected. But that implies some other problems: You cannot pass i16/32/64 arguments to functions or return data using the register pairs (atm i've only implemented LowerReturn and LowerFormalArgs for testing trivial functions). Passing arguments in i8 regs work as expected, BUT, LLVM wont
2010 Sep 01
3
[LLVMdev] Register design decision for backend
Thanks for the reply Jakob, good to know that my assumption that LLVM would split regs into smaller subregs is confirmed to be too optimistic. It would be nice if this case could be handled by LLVM, basically trying to split regs and see if patterns match with the splitted regs before giving an error. About the transformation you mentioned in the selection DAG phase, that was my initial question,