Displaying 20 results from an estimated 5000 matches similar to: "llvm-nm --help keeps printing whitespace"
2020 Aug 22
3
[RFC][LLVM] New Constant type for representing function PLT entries
> -----Original Message-----
> From: Fāng-ruì Sòng <maskray at google.com>
> Sent: Friday, August 21, 2020 4:04 PM
> To: Eli Friedman <efriedma at quicinc.com>
> Cc: Leonard Chan <leonardchan at google.com>; llvm-dev at lists.llvm.org
> Subject: [EXT] Re: [llvm-dev] [RFC][LLVM] New Constant type for
> representing function PLT entries
>
> On Fri, Aug
2019 Jan 10
2
Proposal for string keys for address_space
+cfe-dev at lists.llvm.org
On Thu, Jan 10, 2019 at 2:16 PM Jacob Lifshay <programmerjake at gmail.com> wrote:
>
> Stash a lookup table from integers to strings in Context and dynamically allocate integers for new strings. You can then keep integers in most of the code, writing/displaying strings for the integers with an entry in the table when writing to files or displaying.
>
>
2020 Aug 21
3
[RFC][LLVM] New Constant type for representing function PLT entries
> -----Original Message-----
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Fangrui
> Song via llvm-dev
> Sent: Thursday, August 20, 2020 10:18 PM
> To: Leonard Chan <leonardchan at google.com>
> Cc: llvm-dev <llvm-dev at lists.llvm.org>
> Subject: [EXT] Re: [llvm-dev] [RFC][LLVM] New Constant type for
> representing function PLT
2020 May 14
2
Sancov guard semantics for usage between comdats
Given the following C++ code:
```
// test.cpp
struct Foo {
int public_foo();
int outside_foo();
[[gnu::always_inline]] int inline_foo() {
int x = outside_foo();
if (x % 17) {
x += 1;
}
return x;
}
[[gnu::noinline]] int inline_bar1() {
int x = inline_foo();
if (x % 23) {
x += 2;
}
return x;
}
[[gnu::noinline]] int inline_bar2() {
2018 Sep 28
3
Porting Pass to New PassManager
Is there a reason for why `-asan` and `-asan-module` can be mixed but
Function passes and Module passes with the new PM can't be mixed?
- Leo
On Thu, Sep 27, 2018 at 3:21 AM Fedor Sergeev <fedor.sergeev at azul.com> wrote:
>
> On 09/27/2018 12:25 PM, Philip Pfaffe wrote:
>>
>> `opt < %s -passed='asan' -asan-module -S`
>
> asan-module is another
2018 Aug 23
4
[DebugInfo] DIBuilder missing interface to generate DWARF info for packed_decimal basic type.
Hello Paul,
Thanks for the reply.
Yes, I am only looking for dwarf support at the moment and planning to support both PLI/COBOL decimal types. Also thanks for the suggestion, you are right as it is going to be rare cases, so it will be better to implement a separate subclass to avoid memory overhead for others.
>> (Somebody is actively working on scaled binary operations, although they
2019 Aug 02
3
Switching to the New Pass Manager by Default
I believe a good amount of them (if not most of them) have already been
ported! Off the top of my head, I remember that asan, tsan, msan, hwasan,
the kernel santizers, and sancov have been ported. I don't think ubsan has
been ported yet though.
You can also check if other passes you need run under the new PM by
checking PassRegistry.def.
On Fri, Aug 2, 2019, 14:20 Jordan Rupprecht
2020 Aug 31
2
[RFC][LLVM] New Constant type for representing function PLT entries
IIUC, the actual requirements for the proposed pltentry(@X) constant is:
1. The returned address MUST have a constant offset at link-time from some
other unspecified but defined-in-the-same-binary/DSO symbol Y. Which symbol
it is is presumed not to matter because all locally-defined symbols have
constant offsets from each-other, anyhow.
2. The address is otherwise insignificant. (Therefore, coming
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
Hi!
I'm trying to build a fast Clang for myself to use for debug builds on
Clang itself, but I've been struggling for a very long time on it. Could
you please help?
I've been following this guide: https://llvm.org/docs/HowToBuildWithPGO.html
I've quickly learned that its outdated, because the script it talks about
doesn't work with the monorepo layout at all, but in any
2019 Nov 15
5
MLIR landing in the monorepo
Hi,
(bcc: mlir at tensorflow.org FYI)
I am following-up on the integration of MLIR in LLVM as a subproject (Re:
http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html ).
We're aiming to integrate into the monorepo next month. Right now our
intent is for MLIR to live in a top-level directory in parallel to clang,
lldb, lld, etc.
Our top option for the integration is to perform a
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
Yes, that was it! Now that I took a closer look, the guide also states that
I should use the stage2 build. Silly me.
Thanks!
On Tue, 3 Sep 2019 at 19:31, David Blaikie <dblaikie at gmail.com> wrote:
> I /guess/ you actually want /path/to/release_build/llvm-profdata because
> the profiles are generated from binaries compiled with the release build,
> so it's the release build
2020 Aug 21
5
[RFC][LLVM] New Constant type for representing function PLT entries
I do have concerns about the amount of object level modeling that we want
to do in the IR though. While it isn't the highest level IR we've managed
to mostly avoid these kinds of features/complications in the past. I'm
definitely interested in hearing some alternate implementations here and
there rather than a full set of constants for relocations. Keeping the IR
abstract enough over
2018 Aug 22
2
Fixed Point Support in LLVM
On 2018-08-22 05:56, John McCall via llvm-dev wrote:
>> On Aug 21, 2018, at 6:20 PM, Leonard Chan <leonardchan at google.com> wrote:
>> If we were to create a new type down the line, I think the main
>> features that would distinguish them from other types are the
>> arbitrary width and scale. Saturation can be handled through
>> instructions since saturation
2018 Aug 21
4
Fixed Point Support in LLVM
If we were to create a new type down the line, I think the main
features that would distinguish them from other types are the
arbitrary width and scale. Saturation can be handled through
instructions since saturation really only takes effect after an
operation and doesn’t really describe anything about the bits in the
resulting type. Signage can similarly be managed through operations
and would be
2019 Nov 15
4
MLIR landing in the monorepo
On Fri, Nov 15, 2019 at 10:58 AM Fāng-ruì Sòng <maskray at google.com> wrote:
> Since you are going to rewrite the mlir history anyway, you can
> probably delete accidentally checked in large files if any.
>
Good point, I checked and this is the largest file in the history of the
repo as far as I can tell:
2023 Apr 13
1
Split String in regex while Keeping Delimiter
Dear Emily,
Using a look-behind solves the split problem in this case. (Note: Using
Regex is in most/many cases the simplest solution.)
str = c("leucocyten + gramnegatieve staven +++ grampositieve staven ++",
"leucocyten ? grampositieve coccen +")
tokens = strsplit(str, "(?<=[-+])\\s++", perl=TRUE)
PROBLEM
The current expression does NOT work for a different
2019 Dec 10
2
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
Johannes,
This patch seems to be causing test failures when I just do "ninja
check", without running "ninja" or "ninja all" first.
$ CC=clang CXX=clang++ cmake -G Ninja ~/git/llvm-project/llvm
-DLLVM_USE_LINKER=lld -DLLVM_PARALLEL_LINK_JOBS=4
-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 && ninja check
[...]
FAIL: LLVM ::
2019 Dec 10
3
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
This seems to be happening to me, too. I think this happens for me on
"ninja check-llvm" in a clean build. Let me know if you need more info.
On Tue, Dec 10, 2019 at 2:22 PM Doerfert, Johannes via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi Jay,
>
> I am not sure why this happens.
> Can you give me some information so I can reproduce it:
> Is this happens
2018 Jul 23
2
Requesting for help.
Hello All,
I need some help with respect to cross compiling for ARM.
While trying to cross compile for the ARM target, I am hitting some errors.
I need some help in this.
I use the following command to cross compile for ARM Cortex A72 (ARM v8-a),
64 bit architecture:
*cmake -v CC='clang' CXX='clang++'
-DCMAKE_C_COMPILER=../build_directory_llvm/bin/clang
2018 Sep 24
3
Porting Pass to New PassManager
Hi all,
I'm attempting to move the AddressSanitizer pass from the legacy
PassManager to the new one because the new one has various benefits
over legacy and wanted to clarify on something. Does creating the
static RegisterPass struct register the pass with the new PassManager?
It seems that RegisterPass does the same things that the
INITIALIZE_PASS_* macros do but it registers the pass with