craig.topper added inline comments.
Comment at: lib/Headers/cpuid.h:158
#define bit_BMI20x0100
+#define bit_INVCPID 0x0400
#define bit_ENH_MOVSB 0x0200
this should be below ENH_MOVSB to keep the bits in order
craig.topper added a comment.
Because the builtins take one of the arguments as an immediate, they must be
implemented as macros. This was the frontend can verify that it's an imediate
or a constant expression.
Repository:
rC Clang
https://reviews.llvm.org/D47125
This revision was automatically updated to reflect the committed changes.
Closed by commit rC332848: [AMDGPU] fixes for lds f32 builtins (authored by
dfukalov, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D43281?vs=142412=147801#toc
Repository:
rC Clang
This revision was automatically updated to reflect the committed changes.
Closed by commit rC332847: [CodeGen] Recognize more cases of zero
initialization (authored by sepavloff, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D46241?vs=146091=147798#toc
Repository:
rC
jrtc27 added a comment.
What about the V9 `dX` and `qX` aliases and `f32` to `f63`?
Repository:
rC Clang
https://reviews.llvm.org/D47137
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
Author: sepavloff
Date: Mon May 21 09:09:54 2018
New Revision: 332847
URL: http://llvm.org/viewvc/llvm-project?rev=332847=rev
Log:
[CodeGen] Recognize more cases of zero initialization
If a variable has an initializer, codegen tries to build its value. If
the variable is large in size, building
jyknight added a comment.
There are more leon-based v8 CPUs listed in clang/lib/Basic/Targets/Sparc.cpp,
which need to be listed here, also.
Separately, I think it'd be a good idea to refactor to put this info into the
SparcCPUInfo struct, so that it's harder for them to get out of sync.
GBuella created this revision.
GBuella added a reviewer: craig.topper.
Herald added subscribers: cfe-commits, mgorny.
An intrinsic for an old instruction, as described in the Intel SDM.
Repository:
rC Clang
https://reviews.llvm.org/D47142
Files:
include/clang/Basic/BuiltinsX86.def
ABataev added a comment.
In https://reviews.llvm.org/D45783#1106019, @echristo wrote:
> So, I'd really prefer not to set options via the backend option path. From
> here I think we should aim to take all of the options we added and having the
> asm printer in the backend know how to set them
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, with a small nit.
Comment at: clang-tidy/readability/SimplifyBooleanExprCheck.cpp:78
E = E->IgnoreImpCasts();
+ if (auto *EC = dyn_cast(E))
+E =
jyknight added a comment.
Can you add a test that we support this?
clang/test/CodeGen/sparcv8-inline-asm.c would be a good place to add a test
case similar to that in clang/test/CodeGen/aarch64-inline-asm.c :
test_gcc_registers.
Repository:
rC Clang
https://reviews.llvm.org/D47137
This revision was automatically updated to reflect the committed changes.
Closed by commit rC332843: [Sema] Fix incorrect packed aligned structure layout
(authored by chill, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D46439?vs=145687=147781#toc
Repository:
rC Clang
Author: chill
Date: Mon May 21 07:28:43 2018
New Revision: 332843
URL: http://llvm.org/viewvc/llvm-project?rev=332843=rev
Log:
[Sema] Fix incorrect packed aligned structure layout
Handle attributes before checking the record layout (e.g. underalignment check
during `alignas` processing), as
chill added a comment.
Thanks a lot!
https://reviews.llvm.org/D46439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
QF5690 added inline comments.
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:1018
+def warn_objc_property_assign_on_object : Warning<
+ "'assign' attribute must not be of object type, use 'unsafe_unretained'
instead">,
+ InGroup, DefaultIgnore;
aaron.ballman added a comment.
Ping.
https://reviews.llvm.org/D45835
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aaron.ballman added a comment.
In https://reviews.llvm.org/D44539#1106152, @rjmccall wrote:
> This was approved by the Objective-C language group as a default-off warning.
We usually do not expose new default-off warnings because experience shows that
they rarely ever get enabled by users. If
dcederman created this revision.
dcederman added a reviewer: jyknight.
Herald added subscribers: cfe-commits, jrtc27, fedor.sergeev.
This allows the use of the casa instruction available in most Leon3's.
Repository:
rC Clang
https://reviews.llvm.org/D47138
Files:
dcederman created this revision.
dcederman added a reviewer: jyknight.
Herald added subscribers: cfe-commits, jrtc27, fedor.sergeev.
Repository:
rC Clang
https://reviews.llvm.org/D47137
Files:
lib/Basic/Targets/Sparc.cpp
Index: lib/Basic/Targets/Sparc.cpp
yaxunl added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp:1371-1388
+ // machines.
+ LksStream << "/*\n";
+ LksStream << " HIP Offload Linker Script\n";
+ LksStream << " *** Automatically generated by Clang ***\n";
+ LksStream << "*/\n";
MTC added inline comments.
Comment at: lib/StaticAnalyzer/Checkers/DanglingStringPointerChecker.cpp:59
+ QualType RegType = TypedR->getValueType();
+ if (RegType.getAsString() != "std::string")
+return;
A little tip, there are other string types besides
GBuella updated this revision to Diff 147775.
GBuella added a comment.
Fixed a horrible bug in the patch. Adding a ref to temporary string is not a
wise thing to do, so I had to remove this line:
ReqFeatures.push_back(F.substr(1));
Now the ReqFeatures vector can also refer to strings
HLJ2009 updated this revision to Diff 147773.
HLJ2009 added a comment.
Herald added a subscriber: aheejin.
listing the object formats that *do* support aliases seems reasonable
Repository:
rC Clang
https://reviews.llvm.org/D46805
Files:
include/clang/Basic/Attr.td
GBuella added a comment.
Ping @efriedma
Repository:
rC Clang
https://reviews.llvm.org/D45616
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
amharc requested changes to this revision.
amharc added a comment.
This revision now requires changes to proceed.
This is not sound: sometimes the forcefully emitted vtable is incorrect due to
destructor aliasing. This happens e.g. in the Bullet benchmark from the llvm
test suite. A simplified
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC332839: [CodeGen] Disable aggressive structor optimizations
at -O0, take 2 (authored by labath, committed by ).
Changed
Author: labath
Date: Mon May 21 04:47:45 2018
New Revision: 332839
URL: http://llvm.org/viewvc/llvm-project?rev=332839=rev
Log:
[CodeGen] Disable aggressive structor optimizations at -O0, take 2
The first version of the patch (r332228) was flawed because it was
putting structors into C5/D5
rnkovacs created this revision.
rnkovacs added reviewers: NoQ, xazax.hun, george.karpenkov.
Herald added subscribers: a.sidorin, dkrupp, szepet, baloghadamsoftware,
whisperity, mgorny.
This check marks a raw pointer to a C++ string object's inner buffer "released"
when the object itself is
thakis added a comment.
> Sorry about the breakage, I wasn't aware of that test failure and never got
> any email (probably because the bot has been red before). I'll try to fix
> make_itanium_abi_triple and test it on my Windows box tomorrow before
> resubmitting.
Thanks, sounds good.
echristo added a comment.
I think this will work, one inline comment. Might also be good to get a few
different test cases, e.g. one where we're not seeing the alphabetically first
as the minimum :)
Comment at: lib/CodeGen/CodeGenModule.h:1085
+
shiva0217 updated this revision to Diff 147739.
shiva0217 retitled this revision from "[RISCV] Default enable linker relaxation
and add -mrelax, -mno-relax flags" to "[RISCV] Add -mrelax/-mno-relax flags to
enable/disable RISCV linker relaxation".
shiva0217 edited the summary of this revision.
GBuella added a comment.
So do these really need to be implemented as macros?
Repository:
rC Clang
https://reviews.llvm.org/D47125
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ebevhan updated this revision to Diff 147738.
ebevhan edited the summary of this revision.
ebevhan added a comment.
Made ArrayIndexTy into ssize_t, consolidated the tests and fixed the test that
was failing.
https://reviews.llvm.org/D46944
Files:
rjmccall added a comment.
This was approved by the Objective-C language group as a default-off warning.
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:1018
+def warn_objc_property_assign_on_object : Warning<
+ "'assign' attribute must not be of object type, use
djasper added inline comments.
Comment at: lib/Format/ContinuationIndenter.cpp:760
(!Style.AllowAllParametersOfDeclarationOnNextLine &&
State.Line->MustBeDeclaration) ||
+(!Style.AllowAllArgumentsOnNextLine &&
This still looks
This revision was automatically updated to reflect the committed changes.
Closed by commit rC332830: [X86] Remove some preprocessor feature checks from
intrinsic headers (authored by ctopper, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D47029
Files:
Author: ctopper
Date: Sun May 20 23:07:49 2018
New Revision: 332830
URL: http://llvm.org/viewvc/llvm-project?rev=332830=rev
Log:
[X86] Remove some preprocessor feature checks from intrinsic headers
Summary:
These look to be a couple things that weren't removed when we switched to
target
101 - 137 of 137 matches
Mail list logo