Skip to content

Commit

Permalink
Z: Use IILF for 31-bit inline address constants
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Comin <spencer.comin@ibm.com>
  • Loading branch information
Spencer-Comin committed May 31, 2023
1 parent be868e8 commit 80c97cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/z/codegen/OMRTreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2501,9 +2501,9 @@ genLoadAddressConstant(TR::CodeGenerator * cg, TR::Node * node, uintptr_t value,
return generateRegLitRefInstruction(cg, TR::InstOpCode::getLoadOpCode(), node, targetRegister, value, reloKind, cond, cursor, base);
}

cursor = generateRILInstruction(cg, TR::InstOpCode::LLILF, node, targetRegister, static_cast<uint32_t>(value), cursor);

TR::Compilation *comp = cg->comp();
cursor = generateRILInstruction(cg, comp->target().is64Bit() ? TR::InstOpCode::LLILF : TR::InstOpCode::IILF, node, targetRegister, static_cast<uint32_t>(value), cursor);

bool assumePatch = false;
bool isCompressedClassPointer = false;
if (node->isClassUnloadingConst())
Expand Down

0 comments on commit 80c97cf

Please sign in to comment.