pirama (Pirama Arumuga Nainar)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 16 2015, 3:52 PM (191 w, 3 d)

Recent Activity

Yesterday

pirama added a comment to D52025: [TargetLowering] Android has sincos functions.

Someone just pointed out to me that even in Android P [1], libm's sincos() just called sin() followed by cos() so this optimization won't be beneficial. It was changed in March 2018 [2] but is not a part of any release yet.

Thu, Nov 15, 1:26 PM

Thu, Nov 8

pirama committed rL346436: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
[LTO] Drop non-prevailing definitions only if linkage is not local or appending
Thu, Nov 8, 12:12 PM
pirama closed D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Thu, Nov 8, 12:12 PM
pirama retitled D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending from [LTO] Drop non-prevailing definitions for non-local linkage types to [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Thu, Nov 8, 11:10 AM
pirama added a comment to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

From the summary,

"In ELF, symbols non-weak symbols"

The first "symbols" seems extraneous?

Thu, Nov 8, 11:09 AM
pirama added a comment to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

Thanks for the review Teresa. I'm running the tests again after a rebase and will commit this after the tests pass.

Thu, Nov 8, 11:06 AM
pirama updated the diff for D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

Fix a few more comments.

Thu, Nov 8, 11:06 AM
pirama updated the diff for D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

Update based on review comments. Hopefully I did the WeakForLinker->Prevailing
name changes in all the right places.

Thu, Nov 8, 12:06 AM

Wed, Nov 7

pirama added inline comments to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Wed, Nov 7, 11:26 AM

Tue, Nov 6

pirama added inline comments to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Tue, Nov 6, 10:15 PM
pirama added inline comments to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Tue, Nov 6, 2:15 PM
pirama updated the diff for D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

Rename thinLTOResolveWeakForLinker* to thinLTOResolvePrevailing*

Tue, Nov 6, 2:10 PM
pirama added inline comments to D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Tue, Nov 6, 9:24 AM

Mon, Nov 5

pirama updated the diff for D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.

Fix commit message.

Mon, Nov 5, 4:08 PM
pirama created D54125: [LTO] Drop non-prevailing definitions only if linkage is not local or appending.
Mon, Nov 5, 2:53 PM

Mon, Oct 29

pirama edited reviewers for D53850: Declares __cpu_model as dso local, added: echristo, craig.topper; removed: pirama.

Adding reviewers suggested by 'arc cover'.

Mon, Oct 29, 5:05 PM

Sep 21 2018

pirama committed rCXXA342764: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32.
[libc++abi] is_strcmp parameter to is_equal is unused for WIN32
Sep 21 2018, 1:08 PM
pirama committed rL342764: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32.
[libc++abi] is_strcmp parameter to is_equal is unused for WIN32
Sep 21 2018, 1:02 PM
pirama closed D52368: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32.
Sep 21 2018, 1:02 PM
pirama updated the diff for D52368: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32.

Simplify patch.

Sep 21 2018, 11:55 AM
pirama created D52368: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32.
Sep 21 2018, 10:31 AM
pirama abandoned D48742: Set _LIBCPP_TLS_DESTRUCTOR_CC convention to run_dtors.

This file is not built for WIN32.

Sep 21 2018, 12:22 AM

Sep 14 2018

pirama accepted D52025: [TargetLowering] Android has sincos functions.
Sep 14 2018, 10:00 AM

Sep 12 2018

pirama added a comment to D50359: Add a new library, libclang-cxx.

As I mentioned in the discussion, we decided to carry build rules for the proposed library in downstream. I've updated this to make it more general, and will leave it open in case there's more interest to revive it in the future.

Sep 12 2018, 11:00 AM
pirama updated the diff for D50359: Add a new library, libclang-cxx.

Add empty source file to silence CMake warning.
Support more platforms, similar to libLLVM.so

Sep 12 2018, 10:53 AM

Aug 22 2018

pirama committed rC340424: [Android] Default to -fno-math-errno.
[Android] Default to -fno-math-errno
Aug 22 2018, 10:44 AM
pirama committed rL340424: [Android] Default to -fno-math-errno.
[Android] Default to -fno-math-errno
Aug 22 2018, 10:44 AM
pirama closed D51068: [Android] Default to -fno-math-errno.
Aug 22 2018, 10:44 AM

Aug 21 2018

pirama added inline comments to D51068: [Android] Default to -fno-math-errno.
Aug 21 2018, 3:32 PM
pirama created D51068: [Android] Default to -fno-math-errno.
Aug 21 2018, 3:30 PM

Aug 20 2018

pirama abandoned D50683: [Android] Set NewAlign for 64-bit Android to 8 bytes.

Thanks for the clarification Richard and Eli. I agree that leaving the status quo will match the intent of the macro. I'll abandon this.

Aug 20 2018, 11:04 AM

Aug 13 2018

pirama created D50683: [Android] Set NewAlign for 64-bit Android to 8 bytes.
Aug 13 2018, 5:53 PM

Aug 8 2018

pirama added inline comments to D50467: [SEMA] add more -Wfloat-conversion to compound assigment analysis.
Aug 8 2018, 3:30 PM
pirama committed rL339284: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
[Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL
Aug 8 2018, 1:39 PM
pirama committed rC339284: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
[Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL
Aug 8 2018, 1:39 PM
pirama closed D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
Aug 8 2018, 1:39 PM

Aug 6 2018

pirama added a comment to D50359: Add a new library, libclang-cxx.

This implements the new library proposed in http://lists.llvm.org/pipermail/cfe-dev/2018-August/058736.html.

Aug 6 2018, 1:51 PM
pirama created D50359: Add a new library, libclang-cxx.
Aug 6 2018, 1:50 PM
pirama added a comment to D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

Sorry this fell of my radar. I've rebased the patch.

Aug 6 2018, 10:14 AM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

Rebase

Aug 6 2018, 10:12 AM

Aug 2 2018

pirama added a comment to D50199: [MinGW] Predefine UNICODE if -municode is specified during compilation.
In D50199#1186164, @rnk wrote:

Does this do anything other than -DUNICODE? Maybe just translate it at the driver level and skip the -cc1 flag?

Aug 2 2018, 1:58 PM

Aug 1 2018

pirama committed rL338603: [Android] Increase default new alignment for Android.
[Android] Increase default new alignment for Android
Aug 1 2018, 10:56 AM
pirama committed rC338603: [Android] Increase default new alignment for Android.
[Android] Increase default new alignment for Android
Aug 1 2018, 10:56 AM
pirama closed D50112: [Android] Increase default new alignment for Android.
Aug 1 2018, 10:56 AM

Jul 31 2018

pirama created D50112: [Android] Increase default new alignment for Android.
Jul 31 2018, 3:16 PM

Jul 20 2018

pirama added a comment to D48742: Set _LIBCPP_TLS_DESTRUCTOR_CC convention to run_dtors.

Ping...

Jul 20 2018, 3:53 PM
pirama added a comment to D48743: Make pthread's __libcpp_get_tls declaration consistent.

Ping...

Jul 20 2018, 3:53 PM

Jul 9 2018

pirama added a comment to D44532: Add option to disable linking of libcxx into fuzzer.

Can you elaborate on the further issues with cross-compiling libcxx without a libcxxabi you mentioned in your commit message? I'd like to improve the build to handle all cases.

The built libcxx had references to some symbols from libcxxabi (__cxa_guard_acquire, I think). I'll reproduce the error tomorrow and report back.

Jul 9 2018, 10:19 AM

Jul 2 2018

pirama committed rL336141: [Win32] Overload ==, != for locale_t and long long.
[Win32] Overload ==, != for locale_t and long long
Jul 2 2018, 1:16 PM
pirama committed rCXX336141: [Win32] Overload ==, != for locale_t and long long.
[Win32] Overload ==, != for locale_t and long long
Jul 2 2018, 1:16 PM
pirama closed D48749: [Win32] Overload ==, != for locale_t and long long.
Jul 2 2018, 1:16 PM

Jun 28 2018

pirama created D48749: [Win32] Overload ==, != for locale_t and long long.
Jun 28 2018, 2:56 PM
pirama created D48743: Make pthread's __libcpp_get_tls declaration consistent.
Jun 28 2018, 2:32 PM
pirama created D48742: Set _LIBCPP_TLS_DESTRUCTOR_CC convention to run_dtors.
Jun 28 2018, 2:32 PM
pirama committed rL335916: Configure ELAST for MinGW.
Configure ELAST for MinGW
Jun 28 2018, 1:21 PM
pirama committed rCXX335916: Configure ELAST for MinGW.
Configure ELAST for MinGW
Jun 28 2018, 1:21 PM
pirama closed D48731: Configure ELAST for MinGW.
Jun 28 2018, 1:21 PM
pirama created D48731: Configure ELAST for MinGW.
Jun 28 2018, 10:46 AM

Jun 22 2018

pirama added a comment to D48402: [mingw] Fix GCC ABI compatibility for comdat things.
In D48402#1140046, @rnk wrote:

Sections:
....

3 .text$___Z3fooi 00000013  00000000  00000000  0000012c  2**4
               CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE, LINK_ONCE_DISCARD
Could that explain the difference?

Woops, one too many calls to getNameWithPrefix.

Jun 22 2018, 11:48 AM

Jun 21 2018

pirama added a comment to D48402: [mingw] Fix GCC ABI compatibility for comdat things.

Reid, thanks a lot for addressing this issue.

Jun 21 2018, 3:32 PM

Apr 2 2018

pirama accepted D45145: [Driver] Wire up the -f[no-]rtlib-add-rpath flag and tests.
Apr 2 2018, 1:17 PM
pirama added a comment to D45145: [Driver] Wire up the -f[no-]rtlib-add-rpath flag and tests.

Hi Petr, thanks for the fix (I dropped the ball on this one :( ). Instead of duplicating the checks, does it make sense to fold check into addArchSpecificRPath and rename it to 'addArchSpecificRPathIfRequested' or something similar?

Apr 2 2018, 11:07 AM

Mar 27 2018

pirama added a comment to D44872: Remap values in PromotedFloats.

Done (328644). Cited in the commit message that you are the author since that gets overwritten when someone besides the author commits a change.

Mar 27 2018, 10:48 AM
pirama committed rL328644: Remap values in PromotedFloats.
Remap values in PromotedFloats
Mar 27 2018, 10:47 AM
pirama closed D44872: Remap values in PromotedFloats.
Mar 27 2018, 10:47 AM

Mar 26 2018

pirama accepted D44872: Remap values in PromotedFloats.

Thanks for the fix Yan.

Mar 26 2018, 7:50 PM
pirama removed rL LLVM as the repository for D44872: Remap values in PromotedFloats.
Mar 26 2018, 10:34 AM
pirama added a comment to D44852: [CodeGen] Mark fma as const for Android.

Thanks for the reviews!

Mar 26 2018, 10:07 AM
pirama committed rL328552: [CodeGen] Mark fma as const for Android.
[CodeGen] Mark fma as const for Android
Mar 26 2018, 10:06 AM
pirama committed rC328552: [CodeGen] Mark fma as const for Android.
[CodeGen] Mark fma as const for Android
Mar 26 2018, 10:06 AM
pirama closed D44852: [CodeGen] Mark fma as const for Android.
Mar 26 2018, 10:06 AM
pirama added a comment to D44872: Remap values in PromotedFloats.

The changes look good to me. But something is funny in Phabricator - I am unable to see the context in this file. How did you upload this CL?

Mar 26 2018, 9:20 AM
pirama updated the diff for D44852: [CodeGen] Mark fma as const for Android.

Fix comment.

Mar 26 2018, 8:50 AM

Mar 23 2018

pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

Remove unexpected change from another patch.

Mar 23 2018, 4:31 PM
pirama created D44852: [CodeGen] Mark fma as const for Android.
Mar 23 2018, 4:31 PM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
  • [CodeGen] Mark fma as const for Android
Mar 23 2018, 4:31 PM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
  • [CodeGen] Mark fma as const for Android
Mar 23 2018, 4:27 PM

Mar 15 2018

pirama added a comment to D44532: Add option to disable linking of libcxx into fuzzer.

Can you elaborate on the further issues with cross-compiling libcxx without a libcxxabi you mentioned in your commit message? I'd like to improve the build to handle all cases.

Mar 15 2018, 5:16 PM
pirama updated the diff for D44532: Add option to disable linking of libcxx into fuzzer.

Change name of option to COMPILER_RT_FUZZER_LINK_LIBCXX.

Mar 15 2018, 5:11 PM
pirama created D44532: Add option to disable linking of libcxx into fuzzer.
Mar 15 2018, 12:33 PM

Feb 13 2018

pirama updated subscribers of D43269: [MemorySSA] Be less aggressive with @llvm.lifetime.start.
Feb 13 2018, 4:36 PM

Dec 4 2017

pirama added a comment to D40590: [LibFuzzer] Allow fuzzer to be built standalone.

For sanitizers, we build only for api 14 and use that binary everywhere. Why is libfuzzer special?

Dec 4 2017, 3:37 PM

Nov 27 2017

pirama added a comment to D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Thanks for the review. Now let's just hope the windows bots stay happy :)

Nov 27 2017, 11:19 AM
pirama committed rL319077: Switch CPU names not recognized by GNU assembler.
Switch CPU names not recognized by GNU assembler
Nov 27 2017, 11:19 AM
pirama closed D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler by committing rL319077: Switch CPU names not recognized by GNU assembler.
Nov 27 2017, 11:19 AM
pirama updated the diff for D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Normalize falkor and saphira as well.

Nov 27 2017, 10:28 AM
pirama updated the diff for D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Sink 'Arg *' declaration.

Nov 27 2017, 10:04 AM
pirama updated the diff for D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Add missing space.

Nov 27 2017, 9:59 AM
pirama updated the diff for D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Address review comments.

Nov 27 2017, 9:58 AM

Nov 26 2017

pirama updated the diff for D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.

Few refactorings.

Nov 26 2017, 2:42 PM
pirama created D40476: Switch kryo to use -mcpu=cortex-a57 when invoking the assembler.
Nov 26 2017, 2:14 PM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

Actually revert

Nov 26 2017, 2:12 PM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

Revert to previous patch after accidental update

Nov 26 2017, 2:12 PM
pirama updated the diff for D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.
  • Switch kryo to use -mcpu=cortex-a57 when invoking the assembler
Nov 26 2017, 2:08 PM

Nov 20 2017

pirama added inline comments to D40080: [CMake] Disallow direct configuration.
Nov 20 2017, 11:32 AM
pirama added inline comments to D40080: [CMake] Disallow direct configuration.
Nov 20 2017, 11:22 AM
pirama added inline comments to D40080: [CMake] Disallow direct configuration.
Nov 20 2017, 10:56 AM
pirama added inline comments to D40080: [CMake] Disallow direct configuration.
Nov 20 2017, 10:56 AM
pirama updated subscribers of D40080: [CMake] Disallow direct configuration.
Nov 20 2017, 10:39 AM

Sep 15 2017

pirama added a comment to D37302: [Headers] Define *_HAS_SUBNORM for FLT, DBL, LDBL.

So what about targets that don't support subnormals? I'm moderately sure ARM falls into this category given the right phase of the moon.

Sep 15 2017, 10:12 AM