Commit 64dcde7e by Karl Schimpf

Fix bug introduced by CL 561883002.

Fixes call to extractElement. BUG= None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/562783002
parent 41689df2
......@@ -1631,10 +1631,7 @@ void FunctionParser::ProcessRecord() {
return;
Ice::Operand *Value = getRelativeOperand(Values[1]);
unsigned Alignment;
if (!extractAlignment("Store", Values[2], Alignment)) {
// TODO(kschimpf) Remove error recovery once implementation complete.
Alignment = 1;
}
extractAlignment("Store", Values[2], Alignment);
if (!isValidLoadStoreAlignment(Alignment, Value->getType(), "Store"))
return;
Inst = Ice::InstStore::create(Func, Value, Address, Alignment);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment