This revision was automatically updated to reflect the committed changes.
Closed by commit rL314213: [mips] Accept but ignore -m(no-)branch-likely
(authored by sdardis).
Repository:
rL LLVM
https://reviews.llvm.org/D38168
Files:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/test/Dri
sdardis edited subscribers, added: cfe-commits; removed: llvm-commits.
sdardis added a comment.
+CC cfe-commits, -CC llvm-commits.
Some comments inlined.
I've managed to run the test-suite on one of my machines here and I'm seeing 3
failures:
libunwind :: libunwind_01.pass.cpp
libunwind ::
sdardis added a comment.
Thanks for the pointer to that patch, I'll take a look tomorrow.
Comment at: src/UnwindRegistersRestore.S:492
+#elif defined(__mips__) && _MIPS_SIM == _ABIO32
+
Needs checking for soft-float.
Comment at: src/UnwindR
sdardis added a comment.
I have tested this on one of my machines after removing the checks for soft
float (my debian install doesn't have the necessary headers for soft-float).
With the patch you've pointed out and my inline comments addressed (bar the HI
/ LO register comments), it passes the
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
Marking this as changes required to clear up my review queue - no further
comments.
https://reviews.llvm.org/D38110
___
cfe-commits
sdardis added a reviewer: compnerd.
sdardis added a subscriber: compnerd.
sdardis added a comment.
Two last inlined comments and I think that's everything. @compnerd Have I
missed anything?
Comment at: src/UnwindRegistersSave.S:100
+#
+DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
sdardis added inline comments.
Comment at: include/__libunwind_config.h:59-68
+# elif defined(__mips__) && defined(_ABIN32) && defined(__mips_soft_float)
+# define _LIBUNWIND_TARGET_MIPS_N64 1
+# define _LIBUNWIND_CONTEXT_SIZE 35
+# define _LIBUNWIND_CURSOR_SIZE 46
+# define
sdardis added inline comments.
Comment at: ReleaseNotes.rst:121
+- On MIPS FreeBSD default CPUs have been changed to ``mips2``
+ for 32-bit targets and ``mips3`` for 32-bit targets.
+
``mips3`` for 64 bit targets.
D48499.
Repository:
rC Clang
https://revie
sdardis added a comment.
Ok, I've found my issue. inttypes.h in libcxx include_next's ,
which on my debian linux systems has the include chain , ,
. "helpfully" provides #defines of the various _ABIXXX
macros, which normally the compiler defines depending on the ABI. The include
chain for oth
sdardis added a reviewer: compnerd.
sdardis added a comment.
I am not sure what the answer is. There's a slightly different issue in that
returning the contents of a floating point register on MIPS and expecting it to
be a double is not necessarily correct. For a 64bit FPU, the result of
lwc1/m
sdardis added a comment.
The only thing this needs now is to get correct testing support. Could you add
support for passing down to the configuration script an additional set of
cflags like compiler-rt and libomp do (as a separate patch)? If you look at
libomp, you'll see LIBOMP_TEST_CFLAGS def
sdardis added a comment.
Yes. Something like LIBUNWIND_TEST_CFLAGS mapping to config.test_cflags, which
libunwind/test/libunwind/test/config.py then appends when building the tests.
Thanks.
Repository:
rUNW libunwind
https://reviews.llvm.org/D39074
___
sdardis created this revision.
sdardis added a reviewer: atanasyan.
Herald added a subscriber: arichardson.
This patch provides migitation for CVE-2017-5715, Spectre variant two,
which affects the https://reviews.llvm.org/P5600 and
https://reviews.llvm.org/P6600. It provides the option
-mindirect
sdardis created this revision.
sdardis added a reviewer: EricWF.
Herald added subscribers: christof, mgorny.
When libcxx is built in tree for a host which requires libatomic, LLVM's
configuration steps will determine it is required and add it to
CMAKE_REQUIRED_LIBRARIES. When libcxx is later confi
This revision was automatically updated to reflect the committed changes.
Closed by commit rL325651: [mips] Spectre variant two mitigation for MIPSR2
(authored by sdardis, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D43487
Files:
cfe
sdardis added a subscriber: arichardson.
sdardis added a comment.
This works as expected with your corresponding libcxx patch. However
@arichardson 's https://reviews.llvm.org/D42139 does similar things for libcxx.
We should wait for that to land, and ensure that this patch is rebased against
t
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
In https://reviews.llvm.org/D43585#1017957, @bsdjhb wrote:
> My only question is if this should be named LIBUNWIND_TEST_COMPILER_FLAGS to
> match the name used in libc++?
I would say yes f
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: christof.
LGTM after https://reviews.llvm.org/D43585 lands.
Repository:
rUNW libunwind
https://reviews.llvm.org/D39074
_
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
This also requires that __mips_no_madd4 is defined when the -mnomadd4 option is
in use.
https://reviews.llvm.org/D33401
___
cfe-comm
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
The new define also requires a test in test/Preprocessor/init.c - test that by
default the new define isn't present, and in some case, when supplied with the
-mno-madd4 that it is present.
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM with a comment clarity tweak.
Comment at: lib/Driver/ToolChains/Gnu.cpp:2322-2323
case llvm::Triple::mips64el:
-// Enabled for Debian mips64/mips64el only. Othe
sdardis added a comment.
Ping.
Repository:
rCXX libc++
https://reviews.llvm.org/D43509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis added a comment.
Ping.
Repository:
rCXX libc++
https://reviews.llvm.org/D43509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis created this revision.
Herald added subscribers: ioeric, jkorous-apple, ilya-biryukov, arichardson,
mgorny, klimek.
This addresses a persistent failure on clang-cmake-mips buildbot.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44248
Files:
clangd/CMakeLists.txt
I
sdardis added a comment.
This patch looks mostly ok, but I think there are some small issues with it.
Can you separate the new warnings/error relating to -fno-pic / -mabicalls into
another patch from the change which alters the behaviour of __PIC__ / __pic__ ?
The title of the patch is misleadi
sdardis added a comment.
Ping?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44248
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis added a comment.
Thanks, I wasn't sure who to add as a reviewer.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44248
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
sdardis created this revision.
sdardis added a reviewer: rsmith.
Herald added a reviewer: javed.absar.
Herald added subscribers: atanasyan, kristof.beyls, arichardson.
As reported in GCC bug #86069, LLVM currently provokes a bug in GCC where
objects compiled for MIPS with PIC and optimizations whe
sdardis updated this revision to Diff 150904.
sdardis added a comment.
Modify implementation to produce a function attribute.
Repository:
rC Clang
https://reviews.llvm.org/D47829
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CodeGenFunctio
sdardis added a comment.
In https://reviews.llvm.org/D47829#1124040, @efriedma wrote:
> Is this something which is actually useful to control? From your
> description, you want to add the flag to clang not because you actually want
> to use it, but just because you can't figure out how to pass
sdardis added inline comments.
Comment at: include/clang/Driver/Options.td:2214
HelpText<"Disable SVR4-style position-independent code (Mips only)">;
+def mno_crc : Flag<["-"], "mno-crc">, Group,
+ HelpText<"Disallow use of CRC instructions (Mips only)">;
ata
sdardis added inline comments.
Comment at: cfe/trunk/include/clang/Driver/Options.td:2423
+ Group,
+ HelpText<"Try turning PIC calls (j{al}r{c} $25) into direct calls "
+ "(MIPS only)">, Flags<[HelpHidden]>;
I think this help text could be a little better. Ins
sdardis created this revision.
Herald added a subscriber: arichardson.
-mbranch-likely and -mno-branch-likely are used in some build systems for
some MIPS targets. Accept these options but ignore them as they are an
(de)optimiztion hint, and that branch likely instructions were deprecated
but not
sdardis added a comment.
> I can't find rationale behind the MIPS discrepancy in the original commit. I
> can add the if branch back if you tell me why...
From my recollections, the gnu-hash style isn't supported in ld.bfd for MIPS. A
patch was posted to the binutils list
(https://sourceware.o
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM.
Repository:
rC Clang
https://reviews.llvm.org/D44381
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
A quick comment on the error message, inlined. It's about the quality of the
diagnostics.
Comment at: include/clang/Basic/DiagnosticDriverKinds.td:336-337
+def w
sdardis added inline comments.
Comment at: include/clang/Basic/DiagnosticDriverKinds.td:340
+ "ignoring '%0' option as it cannot be used with "
+ "explicit use of -mabicalls and the N64 ABI">,
InGroup;
Use the %select{optionA|optionB|..|optionZ}$NUM operator
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM, with a touch up of the error message to match the others we have
regarding -mabicalls. Some other minor nits inlined.
Comment at: include/clang/Basic/DiagnosticDrive
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: chrib.
Sorry for the delay.
LGTM.
Repository:
rUNW libunwind
https://reviews.llvm.org/D41968
___
cfe-commits mai
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D38110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cf
sdardis added inline comments.
Comment at: lib/Basic/Targets/Mips.cpp:209
bool MipsTargetInfo::validateTarget(DiagnosticsEngine &Diags) const {
+ // microMIPS64R6 backend is removed
+ if ((getTriple().getArch() == llvm::Triple::mips64 ||
"was removed."
https
sdardis added inline comments.
Comment at: include/__libunwind_config.h:73
+# elif defined(_ABIN32) && defined(__mips_soft_float)
+#define _LIBUNWIND_TARGET_MIPS_NEWABI 1
+#define _LIBUNWIND_CONTEXT_SIZE 35
compnerd wrote:
> Minor nit: I prefer either `N
sdardis added a comment.
Some comments:
Currently there is no support in the backend for the interrupt attribute for
mips64 / using N32 & N64 abis, it will give a fatal error. Previously the
backend lacked support for the static relocation model which is an expected
requirement for interrupt h
sdardis added a comment.
I think for the interrupt attribute, it should be an error. Currently it's an
implementation detail that it errors out in the backend but in principal it can
be supported (I haven't gotten around to addressing it.)
For the micromips attribute, I believe it should be an
sdardis added a comment.
@aaron.ballman I missed your first comments when I'd submitted mine.
In https://reviews.llvm.org/D36208#828957, @aaron.ballman wrote:
> In https://reviews.llvm.org/D36208#828955, @sdardis wrote:
>
> > I think for the interrupt attribute, it should be an error. Currently
sdardis added a comment.
Ping.
https://reviews.llvm.org/D35917
___
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 rL309935: [mips] Add support -m(no-)embedded-data option
(authored by sdardis).
Repository:
rL LLVM
https://reviews.llvm.org/D35914
Files:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/lib/Dri
sdardis updated this revision to Diff 109545.
sdardis marked an inline comment as done.
sdardis added a comment.
Address review comment.
https://reviews.llvm.org/D35917
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/TargetInfo.cpp
lib/Driver
sdardis added inline comments.
Comment at: lib/Driver/ToolChains/Clang.cpp:1523
+ CmdArgs.push_back("-muninit-const-in-rodata");
+ A->claim();
+}
atanasyan wrote:
> What's happened if the `-muninit-const-in-rodata` is used without
> `-m
This revision was automatically updated to reflect the committed changes.
Closed by commit rL309940: [mips] Implement -muninit-const-in-rodata (authored
by sdardis).
Repository:
rL LLVM
https://reviews.llvm.org/D35917
Files:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/include/clan
sdardis added a comment.
Thanks for the reviews of all of these options.
Repository:
rL LLVM
https://reviews.llvm.org/D35917
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis added a comment.
It's required for feature parity with GCC.
-fno-common will place globals into the bss section which uses memory at
runtime. The -membedded-data and -muninit-const-in-rodata options are for
reducing RAM usage in some embedded environments.
Repository:
rL LLVM
https
sdardis added inline comments.
Comment at: cfe/trunk/lib/CodeGen/TargetInfo.cpp:
+ GVar->setLinkage(llvm::GlobalValue::ExternalLinkage);
+ GVar->setSection("rodata");
+}
efriedma wrote:
> Also, this change is clearly unacceptable; am
sdardis added a comment.
In https://reviews.llvm.org/D35917#830898, @joerg wrote:
> I don't see any reason why zero-initialised constants should be emitted in
> BSS. I know that GCC does that and I just fixed bugs in that because created
> wrong section flags for it. So yes, I'd prefer to rever
sdardis added a comment.
https://reviews.llvm.org/rL309978 for the revert.
Repository:
rL LLVM
https://reviews.llvm.org/D35917
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis created this revision.
Herald added a subscriber: arichardson.
As clang defaults to -mno-abicalls when using -fno-pic for N64, implicitly use
-mgpopt in that case.
https://reviews.llvm.org/D36315
Files:
lib/Driver/ToolChains/Clang.cpp
test/Driver/mips-features.c
Index: test/Drive
sdardis added inline comments.
Comment at: include/clang/Basic/DiagnosticDriverKinds.td:296-297
+def warn_drv_unsupported_longcalls : Warning<
+ "ignoring '-mlong-calls' option as it cannot be used with "
+ "%select{|the implicit usage of }0-mabicalls">,
+ InGroup;
---
sdardis added a comment.
Slight tweak to the summary:
> The -mabicalls option does not have a sense in case of non position
> independent code on N64 ABI. After this change driver starts to show a
> warning that -mabicalls is ignored in that case.
The -mabicalls option does not make sense in t
sdardis added inline comments.
Comment at: test/Driver/mips-longcalls-warning.c:1
+// REQUIRES: mips-registered-target
+// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck
-check-prefix=IMPLICIT %s
Can you put this in test/Driver/mips-ab
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM.
Comment at: test/Driver/mips-longcalls-warning.c:1
+// REQUIRES: mips-registered-target
+// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck
sdardis added a comment.
Nit: my comment on line 297, "non position-independent code and N64 ABI"
should be "non position-independent code and the N64 ABI".
LGTM otherwise.
Repository:
rL LLVM
https://reviews.llvm.org/D36550
___
cfe-commits ma
sdardis closed this revision.
sdardis added a comment.
Closing this, https://reviews.llvm.org/rL297098.
Repository:
rL LLVM
https://reviews.llvm.org/D30465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mai
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
One nit inlined, you can address it when committing.
Comment at: Basic/Targets/Mips.cpp:206
bool MipsTargetInfo::validateTarget(DiagnosticsEngine &Diags) const {
+ if ((g
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
Follow @atanasyan 's suggestion and post a patch that renames that enum along
with other changes.
One comment inlined.
Comment at: clang/Basic/DiagnosticDriverK
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310714: [mips] Support implicit gpopt with N64 when using
-fno-pic (authored by sdardis).
Repository:
rL LLVM
https://reviews.llvm.org/D36315
Files:
cfe/trunk/lib/Driver/ToolChains/Clang.cpp
cfe/t
sdardis added a comment.
Thanks for the review and spotting this bug that lead me to finding the other
bug.
Repository:
rL LLVM
https://reviews.llvm.org/D36315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin
sdardis requested changes to this revision.
sdardis added a reviewer: kparzysz.
sdardis added a comment.
This revision now requires changes to proceed.
+kparzysz as Hexagon also makes use of the small data section.
Comment at: docs/LangRef.rst:629
+corresponding to the LLVM mod
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM with comment addressed.
Comment at: lib/Driver/ToolChains/Arch/Mips.cpp:328
+mips::IEEE754Standard mips::getIEEE754Standard(StringRef &CPU) {
+ // Strictly speaking,
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
LGTM with a test for warnings. See test/Driver/mips-abicalls.c for reference.
Repository:
rL LLVM
https://reviews.llvm.org/D35982
___
cfe-co
sdardis created this revision.
Add notes on this to the C language section, along with the C++ section.
https://reviews.llvm.org/D36954
Files:
docs/ReleaseNotes.rst
Index: docs/ReleaseNotes.rst
===
--- docs/ReleaseNotes.rst
+++
This revision was automatically updated to reflect the committed changes.
Closed by commit rL311441: [Sema] Update release notes with details of implicit
scalar to vector… (authored by sdardis).
Repository:
rL LLVM
https://reviews.llvm.org/D36954
Files:
cfe/branches/release_50/docs/ReleaseN
sdardis added a comment.
Thanks,
Simon
Repository:
rL LLVM
https://reviews.llvm.org/D36954
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
I agree with @kparzysz here. If there is a mis-match between the declaration
and definition, there are cases where undesirable behaviour (as such) will not
occur depending on how the mismatc
sdardis added a comment.
> One suggestion inline for the wording inline, the important part is making
> explicit
The important part is making explicit that section information for a variable
can be explicit or inferred.
https://reviews.llvm.org/D36712
__
sdardis added inline comments.
Comment at: lib/Driver/ToolChains/CommonArgs.cpp:983
+ return std::make_tuple(llvm::Reloc::Static, 0U, false);
+// It's never PIC level 2 for mips.
+IsPICLevelTwo = false;
Can you reformulate this comment to say that MI
sdardis added a comment.
Ping.
Repository:
rCXX libc++
https://reviews.llvm.org/D43509
___
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 rL329053: [clangd][cmake] Provide libatomic when there is no
native support for 64bit… (authored by sdardis, committed by ).
Herald added subscribers: llvm-commits, MaskRay.
Changed prior to commit:
https
sdardis added a comment.
Ping.
Repository:
rCXX libc++
https://reviews.llvm.org/D43509
___
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 rL329167: [libcxx][cmake] Remove libatomic temporarily from
CMAKE_REQUIRED_LIBRARIES when… (authored by sdardis, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://r
sdardis added a comment.
Thanks for the review.
Repository:
rL LLVM
https://reviews.llvm.org/D43509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
You should also update the description of the patch.
Repository:
rC Clang
https://reviews.llvm.org/D44381
___
cfe-commits mailing
sdardis added a comment.
> Mips is the only other implementer of shouldSignExtUnsignedType but is
> unaffected, as unlike classifyArgumentType, classifyReturnType will not
> extend i32 values (@sdardis: is this a bug?).
I believe this is an oversight that is addressed in the backend. The MIPS64
sdardis added a comment.
@compnerd, ping?
https://reviews.llvm.org/D38110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis updated this revision to Diff 81755.
sdardis marked an inline comment as done.
sdardis added a comment.
Addressed review comments, fixed assertion issue with expressions like scalar
-= vector.
https://reviews.llvm.org/D25866
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sem
sdardis added inline comments.
Comment at: lib/Sema/SemaExpr.cpp:8051
+ if (!LHSVecType) {
+assert(RHSVecType && "RHSVecType is not a vector!");
if (!tryVectorConvertAndSplat(*this, (IsCompAssign ? nullptr : &LHS),
bruno wrote:
> `tryVectorConvertAndSpl
sdardis added a comment.
Ping.
https://reviews.llvm.org/D25866
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
Can you add a test to test/CodeGen/builtins-mips-msa.c covering the new
extended range for ldi.b ?
LGTM.
https://reviews.llvm.org/D31082
___
sdardis added a comment.
Do you need me to commit this for you?
Repository:
rL LLVM
https://reviews.llvm.org/D30465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdardis created this revision.
This improves some error messages which would otherwise refer to
ext_vector_type types in contexts where there are no such types.
Factored out from https://reviews.llvm.org/D25866 at reviewer's request.
https://reviews.llvm.org/D31667
Files:
include/clang/Sema/
sdardis updated this revision to Diff 94070.
sdardis added a comment.
Factored out the changes from https://reviews.llvm.org/D31337.
https://reviews.llvm.org/D25866
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
test/Sema/vector-cast.c
sdardis updated this revision to Diff 94205.
sdardis marked 5 inline comments as done.
sdardis added a comment.
Addressed review comments, added more tests.
https://reviews.llvm.org/D31667
Files:
lib/Sema/SemaExpr.cpp
test/Sema/vector-ops.c
Index: test/Sema/vector-ops.c
===
sdardis marked an inline comment as done.
sdardis added a comment.
Thanks for sticking with this.
I've held off updating the diff until https://reviews.llvm.org/D31667 (not
https://reviews.llvm.org/D31337 as previously posted) is finished. Responses
inlined.
Comment at: lib/
sdardis marked an inline comment as done.
sdardis added inline comments.
Comment at: lib/Sema/SemaExpr.cpp:9736
+ }
+
+ if (TypeSize == Context.getTypeSize(Context.LongLongTy))
ahatanak wrote:
> This isn't particularly urgent, but can we use ASTContext
> ::get
This revision was automatically updated to reflect the committed changes.
Closed by commit rL299641: [Sema] Extend GetSignedVectorType to deal with non
ExtVector types (authored by sdardis).
Changed prior to commit:
https://reviews.llvm.org/D31667?vs=94205&id=94344#toc
Repository:
rL LLVM
h
sdardis updated this revision to Diff 94434.
sdardis marked 7 inline comments as done.
sdardis added a comment.
Addressed review comments.
I've changed InvalidVectorOperands() to not use InvalidOperands() after
updating some tests. InvalidOperands() was receiving expressions with implicit
casts
sdardis updated this revision to Diff 95109.
sdardis marked 2 inline comments as done.
sdardis added a comment.
Addressed review comments. I've highlighted the relevant places with FIXME:s
where we don't support GCC vector operations.
https://reviews.llvm.org/D25866
Files:
include/clang/Basi
sdardis added a comment.
Realised I've some comments to submit.
Comment at: lib/Sema/SemaExpr.cpp:8032
+
+ return InvalidOperands(Loc, LHS, RHS);
+}
bruno wrote:
> Double checking here: are there tests for the `InvalidOperands` case above?
Yes, this case is co
sdardis created this revision.
The patch teaches the Clang driver how to handle the N64 static
relocation model properly. It enforces the correct target feature
(+noabicalls) when -fno-pic is used. This is required as non-pic
N64 code as the abi extension to call PIC code (CPIC) is unsupported.
M
sdardis created this revision.
Historically, NetBSD, FreeBSD and OpenBSD have defined the macro ABICALLS in
the preprocessor when -mabicalls is in effect.
Mainline GCC later defined __mips_abicalls when -mabicalls is in effect.
This patch teaches the preprocessor to define these macros when appr
sdardis added a comment.
Sending it to the correct list this time.
https://reviews.llvm.org/D29032
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 147 matches
Mail list logo