r354211 - [X86] Prevent clang clobber checking for asm flag constraints.

2019-02-16 Thread Nirav Dave via cfe-commits
Author: niravd Date: Sat Feb 16 19:53:23 2019 New Revision: 354211 URL: http://llvm.org/viewvc/llvm-project?rev=354211&view=rev Log: [X86] Prevent clang clobber checking for asm flag constraints. Update getConstraintRegister as X86 Asm flag output constraints are no longer fully alphanumeric, Mo

r354053 - [X86] Add clang support for X86 flag output parameters.

2019-02-14 Thread Nirav Dave via cfe-commits
Author: niravd Date: Thu Feb 14 11:27:25 2019 New Revision: 354053 URL: http://llvm.org/viewvc/llvm-project?rev=354053&view=rev Log: [X86] Add clang support for X86 flag output parameters. Summary: Add frontend support and expected flags for X86 inline assembly flag parameters. Reviewers: craig.

r351561 - Revert "Clang side support for @cc assembly operands."

2019-01-18 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Jan 18 08:03:08 2019 New Revision: 351561 URL: http://llvm.org/viewvc/llvm-project?rev=351561&view=rev Log: Revert "Clang side support for @cc assembly operands." Modified: cfe/trunk/lib/Basic/Targets/X86.cpp Modified: cfe/trunk/lib/Basic/Targets/X86.cpp URL: http:/

r351559 - Clang side support for @cc assembly operands.

2019-01-18 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Jan 18 07:57:23 2019 New Revision: 351559 URL: http://llvm.org/viewvc/llvm-project?rev=351559&view=rev Log: Clang side support for @cc assembly operands. Modified: cfe/trunk/lib/Basic/Targets/X86.cpp Modified: cfe/trunk/lib/Basic/Targets/X86.cpp URL: http://llvm.org

r331218 - [MC] Change AsmParser to leverage Assembler during evaluation

2018-04-30 Thread Nirav Dave via cfe-commits
Author: niravd Date: Mon Apr 30 12:22:40 2018 New Revision: 331218 URL: http://llvm.org/viewvc/llvm-project?rev=331218&view=rev Log: [MC] Change AsmParser to leverage Assembler during evaluation Teach AsmParser to check with Assembler for when evaluating constant expressions. This improves the h

r331055 - [MC] Undo spurious commit added into r331052.

2018-04-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Apr 27 09:16:06 2018 New Revision: 331055 URL: http://llvm.org/viewvc/llvm-project?rev=331055&view=rev Log: [MC] Undo spurious commit added into r331052. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp URL: http://llvm

r331052 - [MC] Provide default value for IsResolved.

2018-04-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Apr 27 09:11:24 2018 New Revision: 331052 URL: http://llvm.org/viewvc/llvm-project?rev=331052&view=rev Log: [MC] Provide default value for IsResolved. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp URL: http://llvm.or

r331048 - [MC] Modify MCAsmStreamer to always build MCAssembler. NFCI.

2018-04-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Apr 27 08:45:54 2018 New Revision: 331048 URL: http://llvm.org/viewvc/llvm-project?rev=331048&view=rev Log: [MC] Modify MCAsmStreamer to always build MCAssembler. NFCI. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp UR

[libcxx] r324309 - Revert "[libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types."

2018-02-05 Thread Nirav Dave via cfe-commits
Author: niravd Date: Mon Feb 5 19:03:37 2018 New Revision: 324309 URL: http://llvm.org/viewvc/llvm-project?rev=324309&view=rev Log: Revert "[libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types." Revert "Fix initialization of array with GCC." Revert "Ma

r318797 - Avoid unecessary opsize byte in segment move to memory

2017-11-21 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Nov 21 11:28:13 2017 New Revision: 318797 URL: http://llvm.org/viewvc/llvm-project?rev=318797&view=rev Log: Avoid unecessary opsize byte in segment move to memory Segment moves to memory are always 16-bit. Remove invalid 32 and 64 bit variants. Recommiting with missing c

[clang-tools-extra] r300324 - Silence -Wlogical-op-parentheses warning NFC

2017-04-14 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Apr 14 09:36:45 2017 New Revision: 300324 URL: http://llvm.org/viewvc/llvm-project?rev=300324&view=rev Log: Silence -Wlogical-op-parentheses warning NFC Modified: clang-tools-extra/trunk/clang-tidy/misc/ForwardingReferenceOverloadCheck.cpp Modified: clang-tools-extr

r299079 - Move NumRegParameters Module Flag. NFCI.

2017-03-30 Thread Nirav Dave via cfe-commits
Author: niravd Date: Thu Mar 30 08:41:44 2017 New Revision: 299079 URL: http://llvm.org/viewvc/llvm-project?rev=299079&view=rev Log: Move NumRegParameters Module Flag. NFCI. Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp URL: http://llvm.

r298177 - [X86] Add NumRegisterParameters Module Flag.

2017-03-17 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Mar 17 19:43:39 2017 New Revision: 298177 URL: http://llvm.org/viewvc/llvm-project?rev=298177&view=rev Log: [X86] Add NumRegisterParameters Module Flag. Reviewers: rnk, mkuper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D27051 Added: c

r293649 - [X86] Teach Clang about -mfentry flag

2017-01-31 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Jan 31 11:00:35 2017 New Revision: 293649 URL: http://llvm.org/viewvc/llvm-project?rev=293649&view=rev Log: [X86] Teach Clang about -mfentry flag Replace mcount calls with calls to fentry. Reviewers: hfinkel, craig.topper Subscribers: llvm-commits Differential Revision

r283583 - Silence Warning. NFC.

2016-10-07 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Oct 7 14:11:33 2016 New Revision: 283583 URL: http://llvm.org/viewvc/llvm-project?rev=283583&view=rev Log: Silence Warning. NFC. Modified: cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp URL: http://llvm.o

r281753 - Introduce inline assembly parsing test is PR30372.

2016-09-16 Thread Nirav Dave via cfe-commits
Author: niravd Date: Fri Sep 16 12:42:02 2016 New Revision: 281753 URL: http://llvm.org/viewvc/llvm-project?rev=281753&view=rev Log: Introduce inline assembly parsing test is PR30372. Added: cfe/trunk/test/Sema/pr30372.c Added: cfe/trunk/test/Sema/pr30372.c URL: http://llvm.org/viewvc/llvm-

r277490 - Update Clang Parser test error message to match new parser errors

2016-08-02 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Aug 2 12:58:14 2016 New Revision: 277490 URL: http://llvm.org/viewvc/llvm-project?rev=277490&view=rev Log: Update Clang Parser test error message to match new parser errors Update clang tests in light of r277489. Modified: cfe/trunk/test/Parser/ms-inline-asm.c Modi

r276947 - Replace preserve-as-comments CodeGen test with driver test

2016-07-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Wed Jul 27 19:36:34 2016 New Revision: 276947 URL: http://llvm.org/viewvc/llvm-project?rev=276947&view=rev Log: Replace preserve-as-comments CodeGen test with driver test Added: cfe/trunk/test/Driver/preserve-as-comments.c Removed: cfe/trunk/test/CodeGen/preserve-as-c

r276915 - Add target triple in test

2016-07-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Wed Jul 27 15:48:39 2016 New Revision: 276915 URL: http://llvm.org/viewvc/llvm-project?rev=276915&view=rev Log: Add target triple in test Modified: cfe/trunk/test/CodeGen/preserve-as-comments.c Modified: cfe/trunk/test/CodeGen/preserve-as-comments.c URL: http://llvm.org

r276907 - Add flags to toggle preservation of assembly comments

2016-07-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Wed Jul 27 14:57:40 2016 New Revision: 276907 URL: http://llvm.org/viewvc/llvm-project?rev=276907&view=rev Log: Add flags to toggle preservation of assembly comments Summary: Add -fpreserve-as-comments and -fno-preserve-as-comments. Reviewers: echristo, rnk Subscribers: meh

r276896 - Update Clang Parser test error message to match new parser errors

2016-07-27 Thread Nirav Dave via cfe-commits
Author: niravd Date: Wed Jul 27 12:39:47 2016 New Revision: 276896 URL: http://llvm.org/viewvc/llvm-project?rev=276896&view=rev Log: Update Clang Parser test error message to match new parser errors Modified: cfe/trunk/test/Parser/ms-inline-asm.c Modified: cfe/trunk/test/Parser/ms-inline-asm

r265439 - Fix broken tests from no-jump-table commit

2016-04-05 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Apr 5 13:59:37 2016 New Revision: 265439 URL: http://llvm.org/viewvc/llvm-project?rev=265439&view=rev Log: Fix broken tests from no-jump-table commit Summary: Fix failing tests from no-jump-table flag addition Reviewers: jyknight Subscribers: llvm-commits Differential

r265432 - Fix missing period in no-jump-table flag comment. NFC.

2016-04-05 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Apr 5 13:11:01 2016 New Revision: 265432 URL: http://llvm.org/viewvc/llvm-project?rev=265432&view=rev Log: Fix missing period in no-jump-table flag comment. NFC. Modified: cfe/trunk/include/clang/Frontend/CodeGenOptions.def Modified: cfe/trunk/include/clang/Frontend

r265425 - Add -fno-jump-tables and-fjump-tables flags

2016-04-05 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Apr 5 12:50:43 2016 New Revision: 265425 URL: http://llvm.org/viewvc/llvm-project?rev=265425&view=rev Log: Add -fno-jump-tables and-fjump-tables flags Add no-jump-tables flag to disable use of jump tables when lowering switch statements Reviewers: echristo, hans Subscr

r261533 - Add support for Android Vector calling convention for AArch64

2016-02-22 Thread Nirav Dave via cfe-commits
Author: niravd Date: Mon Feb 22 10:48:42 2016 New Revision: 261533 URL: http://llvm.org/viewvc/llvm-project?rev=261533&view=rev Log: Add support for Android Vector calling convention for AArch64 This modification applies the following Android commit when we have an Android environment. This is th

Re: [PATCH] D14935: Fix rewrite of reserved library name in case of -nodefaultlibs

2015-11-24 Thread Nirav Dave via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL253990: Fix rewrite of reserved library name in case of -nodefaultlibs (authored by niravd). Changed prior to commit: http://reviews.llvm.org/D14935?vs=41040&id=41052#toc Repository: rL LLVM http://

r253990 - Fix rewrite of reserved library name in case of -nodefaultlibs

2015-11-24 Thread Nirav Dave via cfe-commits
Author: niravd Date: Tue Nov 24 10:07:21 2015 New Revision: 253990 URL: http://llvm.org/viewvc/llvm-project?rev=253990&view=rev Log: Fix rewrite of reserved library name in case of -nodefaultlibs The Driver only checked if nostdlib was set when deciding to add reserved_lib_stdcxx, but as nostdlib

Re: [PATCH] D14935: Fix nodefaultlibs/nostdlib check

2015-11-24 Thread Nirav Dave via cfe-commits
niravd updated this revision to Diff 41040. niravd added a comment. Fix review issues http://reviews.llvm.org/D14935 Files: lib/Driver/Driver.cpp test/Driver/nodefaultlib.c Index: test/Driver/nodefaultlib.c === --- test/Driver

[PATCH] D14935: Fix nodefaultlibs/nostdlib check

2015-11-24 Thread Nirav Dave via cfe-commits
niravd created this revision. niravd added reviewers: dougk, jyknight. niravd added subscribers: cfe-commits, rsmith. Checks for nostdlib should also always check nodefaultlibs or nostartfiles as appropriate. Clang Driver misses a case http://reviews.llvm.org/D14935 Files: lib/Driver/Driver.c