Displaying 20 results from an estimated 3000 matches similar to: "ThinLTO with Linux+ELF+Gold -- incorrectly dropping weak definitions."
2017 May 16
2
ThinLTO with Linux+ELF+Gold -- incorrectly dropping weak definitions.
This looks similar to the problem I fixed awhile back in r292408. I'll take
a look (probably tomorrow since I am taking some vacation today).
Teresa
On Tue, May 16, 2017 at 9:43 AM, David Blaikie <dblaikie at gmail.com> wrote:
> +Teresa
>
> On Mon, May 15, 2017 at 9:20 AM David Callahan via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> I am tracking a
2019 Jan 09
2
distributed thinlto usage
Fails with gold too:
Library-native.o:Library.cpp:regway: error: undefined reference to 'vtable for regwayobj'
/home/dcallahan/fbsource/fbcode/third-party-buck/platform007/tools/binutils/bin/gold/ld: the vtable symbol may be undefined because the class is missing its key function
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
From: Teresa Johnson
2019 Jan 09
2
distributed thinlto usage
Thanks Teresa
Yes it is astar, happen to send a tar of the sources but they are just copies from the spec distribution
The ld command is:
GNU ld (GNU Binutils) 2.29.1
Thanks for the guidance on path names. The prefix-replace just effects the string written to the object files right? So we could post-process that file with other tools as well, correct?
Thanks again
--david
From: Teresa Johnson
2019 Jan 08
2
distributed thinlto usage
I am trying to work through the usage of thinlto for distributed builds.
Here is the simple thinlto usage, just add -flto=thin everywhere, easy:
clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp
clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN
2015 Dec 05
2
LTO on libraries
Thanks for the response.
To clarify in your suggestion, llvm-link will combine the modules but not run the optimization pass, that is still delayed until the final binary is built, correct?
My use case is apply LTO to roughly program subsets; sacrificing effectiveness to avoid scaling problems and to allow the artifacts to be reused like archives and cached like .o’s.
I need to trigger the
2020 Jul 12
2
Emit LLVM bitcode after ThinLTO
Hi,
I wanted to get the linked result in LLVM bitcode format.
With LTO, this can be done by -flto -Wl,-plugin-opt,emit-llvm. Instead of
generating native executables, it outputs a file with bitcode format.
Does this still work with -flto=thin? -flto=thin -Wl,-plugin-opt,emit-llvm
outputs a bitcode file, but its file size is too small, and does not
contain all contents.
What is the correct way
2016 Jan 30
3
DCE in the presence of control flow.
I had assumed you would treat phi nodes differently from other operations in that they don’t need to keep the block alive just to retain the data flow facts but it would be simplest to do that.
Thanks Daniel
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Friday, January 29, 2016 at 10:26 PM
To: David Callahan <dcallahan at
2010 Oct 13
2
adding a named column to a Matrix
Hello all,
I am trying to use cbind to add a named empty column to a Matrix:
outputmatrix <- cbind(outputmatrix,kog_id = seq(0,0,0))
The problem I have is that kog_id is a variable that has a value e.g.
"KOG1234", but I when I try to use this to name the added column, it
is named literally "kog_id" instead of "KOG1234".
How can I name a column by passing in a
2016 Jan 30
4
DCE in the presence of control flow.
I think you can also avoid the RDF computation using a more directed form of control dependence testing such as described in
Keshav Pingali and Gianfranco Bilardi. 1997. Optimal control dependence computation and the Roman chariots problem. ACM Trans. Program. Lang. Syst. 19, 3 (May 1997), 462-491. DOI=http://dx.doi.org/10.1145/256167.256217
However one challenge seems to be fixing the SSA graph
2010 Oct 07
2
using a package function inside another function
Hello all,
I am trying to use the micEcon 'insertRow' function inside a function
I have written. For example:
insert_row_test <- function(m){
insertRow(m,nrow(m)+1,v=0,rName="test")
}
However, when I try to call the 'insert_row_test' function (after
loading the micEcon package), it does not insert a row into the matrix
I pass in. When I call the insertRow
2016 Jan 30
0
DCE in the presence of control flow.
Maybe I was too quick here. Does gcc record the incoming edge to a phi? If so, won’t those change when you delete blocks in a non-trivial manner? How are those updated?
From: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>
Date: Saturday, January 30, 2016 at 7:02 AM
To: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>, Hal Finkel
2016 Aug 25
4
CFLAA
(and sys::cas_flag that STATISTIC uses is a uint32 ...)
On Thu, Aug 25, 2016 at 9:54 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> Okay, dumb question:
> Are you really getting negative numbers in the second column?
>
> 526,766 -136 mem2reg # PHI nodes inserted
>
> http://llvm.org/docs/doxygen/html/PromoteMemoryToRegister_8cpp_source.html
>
2016 Jan 29
2
DCE in the presence of control flow.
Thanks
Also I found that some cases are also caught by a specialized routine to remove dead loops which is missing the case I noticed.
odavd
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Thursday, January 28, 2016 at 8:45 PM
To: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>, LLVM Dev Mailing list <llvm-dev at
2016 Jan 29
3
DCE in the presence of control flow.
On Thu, Jan 28, 2016 at 10:09 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> ------------------------------
>
> *From: *"David Callahan via llvm-dev" <llvm-dev at lists.llvm.org>
> *To: *"Daniel Berlin" <dberlin at dberlin.org>, "LLVM Dev Mailing list" <
> llvm-dev at lists.llvm.org>
> *Sent: *Thursday, January 28, 2016
2016 Dec 08
6
cross-checking external declarations / debug info for declarations
I am interested in putting together a tool which can verify that an external declaration conforms with the actual definition.
A.c:
extern int32_t foo();
Int bar() { return foo(); }
B.c:
int64_t foo() { ... }
I had thought that I could use the debug information but the debug information in A.o does not include the type of the declaration "foo", just the type of bar.
Is there a way to
2016 Jan 30
0
DCE in the presence of control flow.
In practice, APT is not faster to build than rdf.
The df calculator we use is linear time and quite fast.
Updating is also pretty trivial since it's only deletes of dead and
unreachable code. So anything it reached can be replaced with undef in
most cases.
Cd-dce is not slower in GCC than dce
On Fri, Jan 29, 2016, 8:31 PM David Callahan <dcallahan at fb.com> wrote:
> I think you
2016 Mar 23
4
RFC: New aggressive dead code elimination pass
Hi,
I have a new variant of Aggressive Dead Code Elimination that also removes dead branching. It is designed to minimize the cost of control-dependence analysis in the common case where almost the entire program is live. It also can optionally remove dead but may-be-infinite loops.
When enabled for –O3 (replacing current ADCE pass) and removing loops, impact on SPEC2006 is in the noise but it
2016 Apr 04
2
RFC: New aggressive dead code elimination pass
On Mon, Apr 4, 2016 at 11:49 AM, David Callahan <dcallahan at fb.com> wrote:
>
> I may have not correctly used the IDFCalculator. I passed in the
> PostDominator tree and then changed the loop over successor blocks to also
> be able to iterate over predecessors. I did not see anything in the
> interface that would let that happen but perhaps I don’t understand the API
> so
2004 Nov 17
2
R/S-related projects on Sourceforge? Trove Categorization - GDAL
GDAL Package for R
http://sourceforge.net/projects/rgdal
The R GDAL package is an interface for accessing Frank Warmerdam's
Geographic Data Abstraction Library
from within R.
GDAL is capable of reading and writing a wide range of geographic data
formats including ESRI grid format and geotiff.
On Wed, 2004-11-17 at 09:09, Witold Eryk Wolski wrote:
> <SNIP>
> SourceForge.net
2019 Feb 05
2
debugging installation problem
Given they in separate repos, is there a way to to verify which revisions go together? Is it enough that the clang (shortly) after llvm in time?
On 2/5/19, 1:03 PM, "Eric Christopher" <echristo at gmail.com> wrote:
Your clang and your llvm don't match, they're often version locked and
you need to make sure both of them are the same-ish revision.
-eric