lliu0 created this revision.
lliu0 added reviewers: rjmccall, vsapsai.
Herald added a subscriber: cfe-commits.
>From http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1584,
>function type should not match cv-qualified type in template argument
>deduction. This also matches what GCC an
Author: bruno
Date: Tue Apr 17 23:07:49 2018
New Revision: 330240
URL: http://llvm.org/viewvc/llvm-project?rev=330240&view=rev
Log:
[Modules] Turn on system header validation for implicit modules
After r300027 implicit builds might fail when updating the SDK on
darwin. Make validation of system h
shuaiwang updated this revision to Diff 142882.
shuaiwang added a comment.
Better range for loop handling.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
Files:
clang-tidy/utils/ASTUtils.cpp
clang-tidy/utils/ASTUtils.h
unittests/clang-tidy/CMakeLists.txt
unittests
sammccall added a comment.
@ilya-biryukov Ping :-)
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45442
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
thakis added a comment.
+1 to just adding a dedicated Wno flag for the new warning instead of
coming up with this new spelling.
Repository:
rC Clang
https://reviews.llvm.org/D45685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://li
+1 to just adding a dedicated Wno flag for the new warning instead of
coming up with this new spelling.
On Mon, Apr 16, 2018, 3:41 PM Roman Lebedev via Phabricator via cfe-commits
wrote:
> lebedev.ri added a comment.
>
> Uuuh, the fact that phab posts the top-postings, but silently ignores
> inl
shuaiwang updated this revision to Diff 142878.
shuaiwang added a comment.
Handle range-based for loop
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
Files:
clang-tidy/utils/ASTUtils.cpp
clang-tidy/utils/ASTUtils.h
unittests/clang-tidy/CMakeLists.txt
unittests/cla
mgrang added a comment.
Added @apazos and myself a reviewers since this is something we would be
interested in getting to work.
https://reviews.llvm.org/D39053
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/ma
shuaiwang updated this revision to Diff 142870.
shuaiwang edited the summary of this revision.
shuaiwang added a comment.
Handle casts, ternary operator and lambdas.
Also optionally returns a chain of Stmt giving more details about how the
conclusion is reached.
Repository:
rCTE Clang Tools E
Wizard created this revision.
Herald added subscribers: cfe-commits, klimek.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45750
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
test/clang-tidy/objc-property-declaration.m
Index: test/clang-tidy/objc-property-declaration
tra added a comment.
I'm getting confused about the order of the patches.
The patch stack phabricator displays in this patch is different compared to the
stack in https://reviews.llvm.org/D44984. Which one should I trust?
https://reviews.llvm.org/D45489
_
tra requested changes to this revision.
tra added a subscriber: jlebar.
tra added a comment.
This revision now requires changes to proceed.
Sorry about the delay. I've been out for few days.
Comment at: include/clang/Driver/Options.td:552-553
+def : Joined<["--"], "offload-arch
dberris accepted this revision.
dberris added a comment.
This revision is now accepted and ready to land.
LGTM
Thanks for working through this @devnexen!
I can land this a little later on my day (Sydney, Australia).
https://reviews.llvm.org/D45662
___
kjteske added a comment.
First time llvm contributor here, so no commit access. @jbcoe, can you commit
this for me?
Repository:
rC Clang
https://reviews.llvm.org/D45671
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.or
doug.gregor added inline comments.
Comment at: lib/AST/Decl.cpp:1078
+for (const auto *RD :
+ spec->getSpecializedTemplate()->getTemplatedDecl()->redecls()) {
+ auto Vis = getVisibilityOf(RD, kind);
Do we want to look at *all* redeclarations, or
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330229: [AAch64] Add the __ARM_FEATURE_DOTPROD macro
definition (authored by flyingforyou, committed by ).
Herald added subscribers: llvm-commits, chrib.
Changed prior to commit:
https://reviews.llvm.or
tra added inline comments.
Comment at: lib/CodeGen/CGCUDANV.cpp:51-52
llvm::Constant *getLaunchFn() const;
+ std::string addPrefixToName(CodeGenModule &CGM, StringRef FuncName) const;
+ std::string addUnderscoredPrefixToName(CodeGenModule &CGM,
+
mheinzler created this revision.
mheinzler added a reviewer: clang.
Herald added a subscriber: cfe-commits.
With python3 there is a difference between the length of the string and the
length of the utf-8 encoded bytes array. To not cut off characters at the end
when the string contains multi-byt
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330225: Add Microsoft mangling for _Float16 (authored by
erichkeane, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45738?vs=142827&id=142846#toc
Repository:
rL LLVM
https://revi
Author: erichkeane
Date: Tue Apr 17 15:00:54 2018
New Revision: 330225
URL: http://llvm.org/viewvc/llvm-project?rev=330225&view=rev
Log:
Add Microsoft mangling for _Float16
Enables _Float16 on Windows by creating a mangling
mechanism in MicrosoftMangle. It accomplishes this by
mangling as a str
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330220: [XRay] Add clang builtin for xray typed events.
(authored by kpw, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D45716
Files:
cfe/trunk/include/clang/Basic/Builtins.def
cfe
This revision was automatically updated to reflect the committed changes.
Closed by commit rC330220: [XRay] Add clang builtin for xray typed events.
(authored by kpw, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45716?vs=142790&id=142836#toc
Repository:
rC Clang
https:
majnemer accepted this revision.
majnemer added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D45738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi
erichkeane added a comment.
FWIW, this demangles on both demangler.com and undname as "void __cdecl
Float16::f(struct __clang::_Float16)", which seems like the right thing, since
the "Complex" above demangles to: "void __cdecl Complex::f(struct
__clang::_Complex)"
I also note (since upon first
mibintc created this revision.
mibintc added reviewers: erichkeane, cfe-commits, majnemer.
Herald added a subscriber: llvm-commits.
Microsoft doesn't support _Float16, so this patch invents a mangling using the
technique that was used for _Complex, putting _Float16 into __clang namespace.
What
danalbert added a comment.
Ping?
Repository:
rC Clang
https://reviews.llvm.org/D45291
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
danalbert added a comment.
Ping?
Repository:
rC Clang
https://reviews.llvm.org/D45292
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mstorsjo added a comment.
In https://reviews.llvm.org/D45504#1070198, @rnk wrote:
> Sorry, I skipped over the message and looked at the code, which seems pretty
> straightforward.
>
> > Tests still are TBD, but posting this early to see if there's comments.
> > (How do I easily do a test that c
rnk added a comment.
Sorry, I skipped over the message and looked at the code, which seems pretty
straightforward.
> Tests still are TBD, but posting this early to see if there's comments. (How
> do I easily do a test that checks something relative to the clang binary,
> since I don't control
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
https://reviews.llvm.org/D45504
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330213: [Driver] Use the per-API level Android library
directories. (authored by danalbert, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D45290
sammccall added a comment.
Sorry, missed this.
Just a few leftovers from removing the line/col conversion code.
Then ship it!
Comment at: clangd/ClangdServer.h:166
+ // FIXME: Remove this parameter when the index has line/col.
+ const DraftSt
Author: tejohnson
Date: Tue Apr 17 13:36:51 2018
New Revision: 330212
URL: http://llvm.org/viewvc/llvm-project?rev=330212&view=rev
Log:
Require shell for test
Attempt to fix windows bot which doesn't like the "(cd .." invocation
added in r330194:
http://lab.llvm.org:8011/builders/clang-with-thin-
mstorsjo added a comment.
Ping
https://reviews.llvm.org/D45504
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
paulsemel added a comment.
In https://reviews.llvm.org/D45615#1069755, @aaron.ballman wrote:
> LGTM! I will go ahead and commit on your behalf. Btw, if you're thinking of
> making additional patches, now might be a good time to ask for commit
> privileges
> (https://llvm.org/docs/DeveloperPoli
FWIW, I don't think you actually need the if.
Peter
On Tue, Apr 17, 2018 at 1:21 PM, Teresa Johnson via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: tejohnson
> Date: Tue Apr 17 13:21:53 2018
> New Revision: 330210
>
> URL: http://llvm.org/viewvc/llvm-project?rev=330210&view=rev
>
tejohnson added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
tejohnson wrote:
> bjope wrote:
> > A is no
Author: tejohnson
Date: Tue Apr 17 13:21:53 2018
New Revision: 330210
URL: http://llvm.org/viewvc/llvm-project?rev=330210&view=rev
Log:
Remove unused variable
Fixes unused variable error introduced in r330194.
Modified:
cfe/trunk/lib/Driver/ToolChains/Clang.cpp
Modified: cfe/trunk/lib/Drive
danalbert marked an inline comment as done.
danalbert added inline comments.
Comment at: lib/Driver/ToolChains/Linux.cpp:25
#include "llvm/Support/Path.h"
+#include "llvm/Support/ScopedPrinter.h"
#include
eugenis wrote:
> I don't see why this include is necess
tejohnson added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
bjope wrote:
> A is not used, so this does
bjope added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
A is not used, so this does not compile when us
yaxunl updated this revision to Diff 142818.
yaxunl marked an inline comment as done.
yaxunl retitled this revision from "[HIP] Add hip file type and codegen for
kernel launching" to "[HIP] Add hip input kind and codegen for kernel
launching".
yaxunl edited the summary of this revision.
yaxunl ad
yaxunl marked 2 inline comments as done.
yaxunl added inline comments.
Comment at: lib/Frontend/CompilerInvocation.cpp:2109
+ Opts.HIP = true;
+ }
+
rjmccall wrote:
> yaxunl wrote:
> > rjmccall wrote:
> > > Why is this done here? We infer the language mode
hokein updated this revision to Diff 142817.
hokein marked an inline comment as done.
hokein added a comment.
Make grep pattern more obvious.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45697
Files:
clang-tidy/ClangTidyOptions.cpp
clang-tidy/ClangTidyOptions.h
clang-ti
Author: jvesely
Date: Tue Apr 17 12:35:28 2018
New Revision: 330205
URL: http://llvm.org/viewvc/llvm-project?rev=330205&view=rev
Log:
pow: Use denormal path only
It's OK to either flush to 0 or return denormal result if the device
does not support denormals. See sec 7.2 and 7.5.3 of OCL specs
Fix
Author: jvesely
Date: Tue Apr 17 12:35:30 2018
New Revision: 330206
URL: http://llvm.org/viewvc/llvm-project?rev=330206&view=rev
Log:
pown: Use denormal path only
It's OK to either flush to 0 or return denormal result if the device
does not support denormals. See sec 7.2 and 7.5.3 of OCL specs
Fi
Author: jvesely
Date: Tue Apr 17 12:35:32 2018
New Revision: 330207
URL: http://llvm.org/viewvc/llvm-project?rev=330207&view=rev
Log:
powr: Use denormal path only
It's OK to either flush to 0 or return denormal result if the device
does not support denormals. See sec 7.2 and 7.5.3 of OCL specs
Fi
This revision was automatically updated to reflect the committed changes.
Closed by commit rC330202: [Sema] Warn about memcpy'ing non-trivial C
structs. (authored by ahatanak, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45310?vs=142705&id=142815#toc
Repository:
rC Clan
Author: ahatanak
Date: Tue Apr 17 12:13:41 2018
New Revision: 330202
URL: http://llvm.org/viewvc/llvm-project?rev=330202&view=rev
Log:
[Sema] Warn about memcpy'ing non-trivial C structs.
Issue a warning when non-trivial C structs are copied or initialized by
calls to memset, bzero, memcpy, or mem
Author: ahatanak
Date: Tue Apr 17 12:05:17 2018
New Revision: 330201
URL: http://llvm.org/viewvc/llvm-project?rev=330201&view=rev
Log:
Move the visitor classes that are used to traverse non-trivial C structs
to a header file.
This is in preparation for using the visitor classes to warn about
memc
devnexen added inline comments.
Comment at: lib/Driver/ToolChains/OpenBSD.cpp:189
if (getToolChain().ShouldLinkCXXStdlib(Args))
-getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
+ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
if (Args.hasArg(options
devnexen added inline comments.
Comment at: lib/Driver/ToolChains/OpenBSD.cpp:189
if (getToolChain().ShouldLinkCXXStdlib(Args))
-getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
+ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
if (Args.hasArg(options
devnexen updated this revision to Diff 142811.
devnexen retitled this revision from "Fuzzer, add libcxx for OpenBSD" to
"OpenBSD add C++ runtime in a driver's standpoint".
devnexen edited the summary of this revision.
https://reviews.llvm.org/D45662
Files:
lib/Driver/ToolChains/OpenBSD.cpp
l
aaron.ballman added a comment.
Have you run this over any large code bases to see whether the check triggers
in practice?
Comment at: docs/clang-tidy/checks/list.rst:95
fuchsia-default-arguments
+ fuchsia-header-anon-namespaces (redirects to google-build-namespaces)
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330199: Add a command line option
'fregister_global_dtors_with_atexit' to (authored by ahatanak,
committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.o
Author: ahatanak
Date: Tue Apr 17 11:41:52 2018
New Revision: 330199
URL: http://llvm.org/viewvc/llvm-project?rev=330199&view=rev
Log:
Add a command line option 'fregister_global_dtors_with_atexit' to
register destructor functions annotated with __attribute__((destructor))
using __cxa_atexit or at
SjoerdMeijer accepted this revision.
SjoerdMeijer added a comment.
This revision is now accepted and ready to land.
The corresponding LLVM tests seem be there already, so this looks all good to
me.
https://reviews.llvm.org/D45670
___
cfe-commits ma
aaron.ballman added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:2623
+QualType QT = Pointer->getType()->getPointeeType();
+if (!QT.isNull() && QT->isBooleanType())
+ // Warn on bool* to bool conversion.
Quuxplusone added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:2623
+QualType QT = Pointer->getType()->getPointeeType();
+if (!QT.isNull() && QT->isBooleanType())
+ // Warn on bool* to bool conversion.
Qu
efriedma added a comment.
The thing about the bool*-only version is that bool pointers are rare in C++,
so I'm not sure we're gaining much. But if we can't do something more general,
there's still some benefit.
I see your point about false positives for the more general version. I was sort
of
Author: jvesely
Date: Tue Apr 17 11:11:29 2018
New Revision: 330198
URL: http://llvm.org/viewvc/llvm-project?rev=330198&view=rev
Log:
amdgcn/fmin: Fix typos that reduced precision
Not sure how these sneaked in.
Fixes fminD and few other tests(fractD, cosD) on carrizo
Signed-off-by: Jan Vesely
Re
Author: jvesely
Date: Tue Apr 17 11:08:08 2018
New Revision: 330197
URL: http://llvm.org/viewvc/llvm-project?rev=330197&view=rev
Log:
exp10: Port from amd builtins
Passes CTS on carrizo and turks.
Signed-off-by: Jan Vesely
Reviewed and Tested (on RX 580) by: Aaron Watry
Added:
libclc/trunk
ahatanak updated this revision to Diff 142792.
ahatanak added a comment.
Deactivate the cleanups for callee-destructed parameters that are being
forwarded to a delegated constructor.
I also added a new member (CurrentCleanupStackDepth) to CodeGenFunction that
tracks the stack depth of the most
Quuxplusone added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:2623
+QualType QT = Pointer->getType()->getPointeeType();
+if (!QT.isNull() && QT->isBooleanType())
+ // Warn on bool* to bool conversion.
ef
shuaiwang added a comment.
In https://reviews.llvm.org/D45679#1069754, @Eugene.Zelenko wrote:
> In https://reviews.llvm.org/D45679#1069638, @JonasToth wrote:
>
> > *hust* /llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp
> >
> > I will check this one first, before we get crazy and impleme
efriedma added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:2623
+QualType QT = Pointer->getType()->getPointeeType();
+if (!QT.isNull() && QT->isBooleanType())
+ // Warn on bool* to bool conversion.
Have
koldaniel updated this revision to Diff 142793.
https://reviews.llvm.org/D33844
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/TerminatingContinueCheck.cpp
clang-tidy/bugprone/TerminatingContinueCheck.h
docs/ReleaseNotes.rst
do
craig.topper added inline comments.
Comment at: lib/CodeGen/CGBuiltin.cpp:8427
+ SmallVector ShuffleMask;
+ ShuffleMask.clear();
+ for (unsigned i = 0; i < N; ++i)
This clear isn't needed.
Comment at: lib/CodeGen/CGBuiltin.cpp:8432
+ CG
craig.topper added inline comments.
Comment at: lib/CodeGen/CGBuiltin.cpp:8420
+ if (IsUnsigned) {
+MinVal = (IsDW) ? llvm::APInt::getMinValue(16).getZExtValue()
+: llvm::APInt::getMinValue(8).getZExtValue();
Why can't these just be APInt
kpw updated this revision to Diff 142790.
kpw added a comment.
Undoing formatting change.
Repository:
rC Clang
https://reviews.llvm.org/D45716
Files:
include/clang/Basic/Builtins.def
include/clang/Basic/LangOptions.def
include/clang/Basic/XRayInstr.h
include/clang/Driver/Options.td
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330195: [NEON] Define vget_high_f16() and vget_low_f16()
intrinsics in AArch64 mode only (authored by kosarev, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://r
Author: kosarev
Date: Tue Apr 17 09:43:07 2018
New Revision: 330195
URL: http://llvm.org/viewvc/llvm-project?rev=330195&view=rev
Log:
[NEON] Define vget_high_f16() and vget_low_f16() intrinsics in AArch64 mode only
Differential Revision: https://reviews.llvm.org/D45668
Modified:
cfe/trunk/in
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330194: [ThinLTO] Pass -save-temps to LTO backend for
distributed ThinLTO builds (authored by tejohnson, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llv
Author: tejohnson
Date: Tue Apr 17 09:39:25 2018
New Revision: 330194
URL: http://llvm.org/viewvc/llvm-project?rev=330194&view=rev
Log:
[ThinLTO] Pass -save-temps to LTO backend for distributed ThinLTO builds
Summary:
The clang driver option -save-temps was not passed to the LTO config,
so when i
klimek created this revision.
klimek added a reviewer: krasimir.
...doesn't
work correctly for "} else {".
2. We needed to change the API of AffectedRangeManager to not use iterators; we
always passed in begin / end for the whole container before, so there was no
mismatch in generality.
3. W
malaperle added a comment.
Any objections to the latest version?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
koldaniel added a comment.
In https://reviews.llvm.org/D35068#1049530, @george.karpenkov wrote:
> @koldaniel Have you evaluated this checker? On which codebases? Were the
> warnings real security issues, or were they mostly spurious? The code seems
> fine, but I'm not sure whether it should be
yaxunl marked an inline comment as done.
yaxunl added inline comments.
Comment at: lib/Frontend/InitPreprocessor.cpp:473
+ Builder.defineMacro("__HIP_DEVICE_COMPILE__");
+ }
}
rjmccall wrote:
> I assume these names are defined by the HIP spec.
Yes these ar
kosarev updated this revision to Diff 142784.
kosarev added a comment.
Removed checks for unused bitcasts. Thanks for catching!
https://reviews.llvm.org/D45670
Files:
include/clang/Basic/arm_neon.td
test/CodeGen/arm-neon-fma.c
Index: test/CodeGen/arm-neon-fma.c
===
hiraditya updated this revision to Diff 142776.
hiraditya added a comment.
Warn on bool* to bool conversion during a call only.
https://reviews.llvm.org/D45601
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/SemaCXX/warn-bool-ptr-to-bool.cpp
Index: test/S
aaron.ballman added a comment.
In https://reviews.llvm.org/D41648#1047799, @JonasToth wrote:
> I checked several codebases and implemented a little helper script to see
> which kind of macros exist. Then I added some filter regex as configuration
> and tried again, here are the results:
>
> For
SjoerdMeijer accepted this revision.
SjoerdMeijer added a comment.
This revision is now accepted and ready to land.
Yep, agreed, also on the new shiny
https://developer.arm.com/technologies/neon/intrinsics it is listed as A64 only.
https://reviews.llvm.org/D45668
mike.dvoretsky created this revision.
mike.dvoretsky added reviewers: craig.topper, spatel.
Herald added a subscriber: cfe-commits.
This patch lowers the SAD intrinsics to native LLVM IR. Comes with an LLVM
patch.
Repository:
rC Clang
https://reviews.llvm.org/D45722
Files:
lib/CodeGen/CGB
mike.dvoretsky created this revision.
mike.dvoretsky added reviewers: craig.topper, spatel.
Herald added a subscriber: cfe-commits.
This patch lowers the X86 vector packing with saturation intrinsics to native
LLVM IR. Comes with an LLVM patch.
Repository:
rC Clang
https://reviews.llvm.org/D
aaron.ballman closed this revision.
aaron.ballman added a comment.
Committed in r330188, thank you for the patch!
Repository:
rC Clang
https://reviews.llvm.org/D45615
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/c
Author: aaronballman
Date: Tue Apr 17 07:00:06 2018
New Revision: 330188
URL: http://llvm.org/viewvc/llvm-project?rev=330188&view=rev
Log:
Add modifiers for unsigned char and signed char field printing for
__builtin_dump_struct.
Patch by Paul Semel.
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM! I will go ahead and commit on your behalf. Btw, if you're thinking of
making additional patches, now might be a good time to ask for commit
privileges (https://llvm.org/doc
Eugene.Zelenko added a comment.
In https://reviews.llvm.org/D45679#1069638, @JonasToth wrote:
> *hust* /llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp
>
> I will check this one first, before we get crazy and implemented something
> twice.
But this is IR-level analysis. Clang has own
kosarev added a comment.
The NEON Intrinsics Reference
(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0073a/index.html)
reads like they are AArch64-only.
https://reviews.llvm.org/D45668
___
cfe-commits mailing list
cfe-commits@lis
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330187: [NEON] Fix the architecture condition for the crypto
intrinsics (authored by kosarev, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D
alexfh accepted this revision.
alexfh added inline comments.
This revision is now accepted and ready to land.
Comment at: test/clang-tidy/read_file_config.cpp:5
+// RUN: echo '[{"command": "cc -c -o test.o test.cpp", "directory":
"%T/read-file-config", "file": "%T/read-file-conf
This revision was automatically updated to reflect the committed changes.
Closed by commit rC330187: [NEON] Fix the architecture condition for the crypto
intrinsics (authored by kosarev, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D45669
Files:
include/clang/Basic/arm_neon.
Author: kosarev
Date: Tue Apr 17 06:37:30 2018
New Revision: 330187
URL: http://llvm.org/viewvc/llvm-project?rev=330187&view=rev
Log:
[NEON] Fix the architecture condition for the crypto intrinsics
Differential Revision: https://reviews.llvm.org/D45669
Modified:
cfe/trunk/include/clang/Basic
lebedev.ri added inline comments.
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7806
+ "comparing %0 as a boolean">,
+ InGroup;
def warn_format_argument_needs_cast : Warning<
thakis wrote:
> lebedev.ri wrote:
> > Also, this really really should be und
thakis added inline comments.
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7806
+ "comparing %0 as a boolean">,
+ InGroup;
def warn_format_argument_needs_cast : Warning<
lebedev.ri wrote:
> Also, this really really should be under it's own flag, whic
aaron.ballman closed this revision.
aaron.ballman added a comment.
I've committed in r330185, thank you for the patch!
Repository:
rC Clang
https://reviews.llvm.org/D45665
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.
Author: aaronballman
Date: Tue Apr 17 04:57:47 2018
New Revision: 330185
URL: http://llvm.org/viewvc/llvm-project?rev=330185&view=rev
Log:
Add checks for format specifiers used by __builtin_dump_struct and added a new
specifier for null-terminated constant strings.
Patch by Paul Semel.
Modified
Szelethus updated this revision to Diff 142760.
Szelethus added a comment.
In https://reviews.llvm.org/D45532#1068700, @Szelethus wrote:
> Also, I managed to cause a crash with the class `linked_ptr_internal` from
> google's boringssl when I analyzed the grpc project. I'll look deeper into
> th
hokein added inline comments.
Comment at: test/clang-tidy/read_file_config.cpp:5
+// RUN: echo '[{"command": "cc -c -o test.o test.cpp", "directory":
"%T/read-file-config", "file": "%T/read-file-config/test.cpp"}]' >
%T/read-file-config/compile_commands.json
+// RUN: clang-tidy
hokein updated this revision to Diff 142759.
hokein marked an inline comment as done.
hokein added a comment.
Add one more test to ensure the test code triggering "clang-analyzer-*" checks.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45697
Files:
clang-tidy/ClangTidyOption
1 - 100 of 136 matches
Mail list logo