SWDEV-460260, SWDEV-459556 - Revert "SWDEV-459556 - Revert "SWDEV-442724 - Remove uses of -amdgpu-early-inline-all to enable function calls""

This reverts commit 336afbbb60.

The regressions (SWDEV-459556 and SWDEV-460260)  caused by the original patch
has been resolved.

Change-Id: Ic3a5712472f29d682d4853ad5a69d9c46df87299


[ROCm/hip commit: 5590827760]
This commit is contained in:
Shilei Tian
2024-05-13 11:11:06 -04:00
committed by Rakesh Roy
parent e80329108a
commit e60714a451
-4
View File
@@ -83,10 +83,6 @@ set_target_properties(hip-lang::device PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "$<$<COMPILE_LANGUAGE:HIP>:__HIP_ROCclr__=1>"
)
set_property(TARGET hip-lang::device APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:SHELL:-mllvm=-amdgpu-early-inline-all=true;-mllvm=-amdgpu-function-calls=false>"
)
set_property(TARGET hip-lang::device APPEND PROPERTY
INTERFACE_LINK_OPTIONS "$<$<LINK_LANGUAGE:HIP>:--hip-link>"
)