[LLVMdev] multiple return value assembler regression?
Bagel
bagel99 at gmail.com
Fri Jun 24 09:29:29 PDT 2011
It appears the syntax for returning multiple values has changed since 2.9.
Previous to that:
ret i32 %a, i32 %b
worked. The new syntax is something like:
ret { i32, i32 }{i32 %a, i32 %b}
but this yields an error:
mrv-bug.ll:5:24: error: invalid use of function-local name
ret { i32, i32 }{i32 %a, i32 %b}
^
If %a and %b are replaced by constants, things work.
Am I doing something wrong, or should I file a bug report?
More information about the llvm-dev
mailing list