Skip to content

Commit

Permalink
Remove GRA linkage register restriction and update copyrights
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic committed Mar 12, 2019
1 parent 3823e56 commit d7f6331
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion compiler/codegen/OMRMachine.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion compiler/codegen/RegisterPressureSimulatorInner.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion compiler/optimizer/RegisterCandidate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3731,7 +3731,7 @@ TR_RegisterCandidates::computeAvailableRegisters(TR_RegisterCandidate *rc, int32
while (bvi.hasMoreElements())
{
int32_t reg = bvi.getNextElement();
if (reg != parmReg && (reg >= comp()->cg()->getFirstGlobalGPR() && reg <= comp()->cg()->getLastGlobalGPR()))
if (reg != parmReg)
_liveOnEntryConflicts[reg].set(entryBlockNumber);
}
}
Expand Down
1 change: 0 additions & 1 deletion compiler/z/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ compiler_library(z
${CMAKE_CURRENT_LIST_DIR}/codegen/InstOpCode.cpp
${CMAKE_CURRENT_LIST_DIR}/codegen/OMRRegister.cpp
${CMAKE_CURRENT_LIST_DIR}/codegen/OMRRealRegister.cpp
${CMAKE_CURRENT_LIST_DIR}/codegen/OMRRegisterPair.cpp
${CMAKE_CURRENT_LIST_DIR}/codegen/OMRCodeGenPhase.cpp
${CMAKE_CURRENT_LIST_DIR}/codegen/OMRCodeGenerator.cpp
${CMAKE_CURRENT_LIST_DIR}/env/OMRDebugEnv.cpp
Expand Down
1 change: 0 additions & 1 deletion compiler/z/codegen/OMRCodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3317,7 +3317,6 @@ OMR::Z::CodeGenerator::gprClobberEvaluate(TR::Node * node, bool force_copy, bool
return srcRegister;
}


/**
* Different from evaluate in that it returns a clobberable register
*/
Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRInstOpCode.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/PseudoRegisterEnum.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2018, 2018 IBM Corp. and others
* Copyright (c) 2018, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/RealRegisterEnum.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/RealRegisterMaskEnum.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion fvtest/compilertest/build/IWYU_Mappings.imp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2016, 2018 IBM Corp. and others
# Copyright (c) 2016, 2019 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion fvtest/compilertest/build/files/target/z.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2016, 2018 IBM Corp. and others
# Copyright (c) 2016, 2019 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
2 changes: 1 addition & 1 deletion fvtest/compilertest/env/FrontEnd.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corp. and others
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down
1 change: 0 additions & 1 deletion jitbuilder/build/files/target/z.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ JIT_PRODUCT_BACKEND_SOURCES+=\
$(JIT_OMR_DIRTY_DIR)/z/codegen/InstOpCode.cpp \
$(JIT_OMR_DIRTY_DIR)/z/codegen/OMRRegister.cpp \
$(JIT_OMR_DIRTY_DIR)/z/codegen/OMRRealRegister.cpp \
$(JIT_OMR_DIRTY_DIR)/z/codegen/OMRRegisterPair.cpp \
$(JIT_OMR_DIRTY_DIR)/z/codegen/OMRCodeGenerator.cpp \
$(JIT_OMR_DIRTY_DIR)/z/codegen/OMRCodeGenPhase.cpp \
$(JIT_OMR_DIRTY_DIR)/z/env/OMRDebugEnv.cpp \
Expand Down

0 comments on commit d7f6331

Please sign in to comment.