The argument to SymEvalSemantics::addWithCarries for unsign-extending
authorSunny Shah <shah28@wisc.edu>
Sun, 18 Sep 2016 23:39:47 +0000 (18:39 -0500)
committerSunny Shah <shah28@wisc.edu>
Sun, 18 Sep 2016 23:39:47 +0000 (18:39 -0500)
commit49e7cd96b6ba4e6db7607156cf6f126c2492021c
treecccc406a1d049446a514946873d4467edb93d3b5
parent5bc0beb79a4aece49ab4f94e4851cbf7902fe01c
The argument to SymEvalSemantics::addWithCarries for unsign-extending
the second addend should be the second operand from the instruction AST.

The bug here was that the first operand from the AST was being passed
for the unsign-extend operation. This caused the semantic expression and
hence the resulting assignment expansion for the instructions calling
this function to be incorrect.
dataflowAPI/rose/semantics/SymEvalSemantics.C