From 768d00f5e7d0d982da3e587ac464ff7de1eb6abb Mon Sep 17 00:00:00 2001 From: Yaxun Sam Liu Date: Thu, 28 Feb 2019 11:19:35 -0500 Subject: [PATCH] Revert "Consume the code obj args to prevent duplicates" This reverts commit 0e1fc751eac55be9822ea85e19ea00d1cd1837e4. [ROCm/clr commit: 510590ac1d3551d3a9657fc11216f796879e2cea] --- projects/clr/hipamd/bin/hipcc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/clr/hipamd/bin/hipcc b/projects/clr/hipamd/bin/hipcc index 4c6a5ded07..b649bb6e7f 100755 --- a/projects/clr/hipamd/bin/hipcc +++ b/projects/clr/hipamd/bin/hipcc @@ -424,14 +424,8 @@ foreach $arg (@ARGV) $swallowArg = 1; } - if (($trimarg eq '-mno-code-object-v3') and ($HIP_PLATFORM eq 'clang') ) { - $useCodeObjectV3 = 0; - $swallowArg = 1; - } - if (($trimarg eq '-mcode-object-v3') and ($HIP_PLATFORM eq 'clang') ) { $useCodeObjectV3 = 1; - $swallowArg = 1; } if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {