search for: mehdi

Displaying 20 results from an estimated 2423 matches for "mehdi".

2016 Jul 22
3
[ThinLTO] Using two different IRMovers for the same composite module? (related to PR28180)
It seems that the patch works for me as well, though the linker crashes with another error after that. Thanks! Mehdi, I couldn’t quite understand what do you mean by you don’t have a repro so you couldn’t upstream the patch. Aren’t .ll files you attached sufficient to submit along with the patch? If there is anything I can help you to upstream it, please let me know. -- Taewook On 7/22/16, 2:52 PM, "mehdi...
2020 Jul 06
2
Phabricator maintenance Sunday 7/5/2020
...if anything seems off. In particular the email configuration took me a while to figure out, it isn't clear to me how Phab was possibly receiving email before? I upgraded the VM without changing the Phabricator version, I'll likely look into upgrading Phabricator itself next weekend. -- Mehdi On Sun, Jul 5, 2020 at 9:02 PM Mehdi AMINI <joker.eph at gmail.com> wrote: > Turning the instance down for the next hour or so. > > -- > Mehdi > > > On Sat, Jul 4, 2020 at 9:59 PM Mehdi AMINI <joker.eph at gmail.com> wrote: > >> Hi, >> >> Ph...
2016 Sep 21
2
-sanitizer-coverage-prune-blocks=true and LibFuzzer
> On Sep 21, 2016, at 1:25 PM, Kostya Serebryany <kcc at google.com> wrote: > > > > On Wed, Sep 21, 2016 at 12:58 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> On Sep 21, 2016, at 12:56 PM, Kostya Serebryany <kcc at google.com <mailto:kcc at google.com>> wrote: >> >> >> >> On Wed, Sep 21, 2016 at 12:32 PM, Mehdi Amini...
2016 Nov 30
2
Code Owner for the LLVM Bitcode
Thanks Joe! I’d like to propose that Peter Collingbourne takes over, he’s been doing most of the recent work there. — Mehdi > On Nov 28, 2016, at 6:43 AM, Joe Abbey <jabbey at arxan.com> wrote: > > I'd very much like to re-engage with LLVM, but that will have to wait for another time. Feel free to re-assign bitcode code ownership. > > Sincerely, > > Joe > > On Thu, Nov 24, 201...
2016 Nov 20
2
GlobalValue::AvailableExternallyLinkage
> > On Nov 19, 2016, at 14:09, Mehdi Amini <mehdi.amini at apple.com> wrote: > > I assume from your description that you are also updating call sites in the same module so that if foo was calling atoi, after cloning you have foo_parallel that is calling atoi_parallel? > If this is the issue, it depends, I’d probably c...
2017 Apr 20
2
Permissions for llvm-mirror - Setting up Libc++ Appveyor builders
> On Apr 20, 2017, at 12:30 PM, Eric Fiselier <eric at efcs.ca> wrote: > > > > On Thu, Apr 20, 2017 at 11:06 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> On Apr 20, 2017, at 12:39 AM, Eric Fiselier <eric at efcs.ca <mailto:eric at efcs.ca>> wrote: >> >> >> >> On Wed, Apr 19, 2017 at 11:19 PM, Mehdi Amini <meh...
2016 Mar 24
2
Help with pass manager
So we come back to my earlier comment: can you produce a one-file, < 100 lines that reproduce the issue? -- Mehdi > On Mar 24, 2016, at 10:16 AM, Lorenzo Laneve <lore97drk at icloud.com> wrote: > > Those lines of code are in a function that is called before calling the moduleToObjectFile() function > > On Mar 24, 2016, at 6:07 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehd...
2016 Nov 19
2
GlobalValue::AvailableExternallyLinkage
Because what is happening is that if function “atoi” gets cloned I don’t have a definition of “atoi_parallel” therefore I get undefined references when linking. I just want to clone and instrument functions implemented in modules of my program. > On Nov 19, 2016, at 13:54, Mehdi Amini <mehdi.amini at apple.com> wrote: > > >> On Nov 19, 2016, at 12:44 PM, Simone Atzeni <simone.at at gmail.com> wrote: >> >> Thanks Mehdi. >> >> My pass clones the functions within a module in order to have the original function and an exact c...
2016 Apr 07
2
RFC [ThinLTO]: Promoting more aggressively in order to reduce incremental link time and allow sharing between linkage units
> On Apr 7, 2016, at 12:39 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: > > > > On Thu, Apr 7, 2016 at 12:29 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> On Apr 7, 2016, at 11:59 AM, Xinliang David Li <davidxl at google.com <mailto:davidxl at google.com>> wrote: >> >> >> >> On Thu, Apr 7, 2016 at 11:26 AM, Mehdi...
2016 Dec 13
2
Enabling statistics in release builds / static constructors
...into the places where we do pass registration which should get you a big part of the way. For the remaining cases you have to add a few functions and call them from init() like functions which we have all over llvm anyway because of pass registration. - Matthias > On Dec 13, 2016, at 3:46 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > Well for one you’re snippet includes a `static void init_globals() {` which definitely can be “static” and it is quite unclear to me how you’re gonna trigger the registration for it. > >> On Dec 13, 2016, at 3:43 PM, Matthias Braun...
2016 Mar 24
2
Help with pass manager
...re, and -stop-after options work. PassRegistry *Registry = PassRegistry::getPassRegistry(); initializeCore(*Registry); initializeCodeGen(*Registry); initializeLoopStrengthReducePass(*Registry); initializeLowerIntrinsicsPass(*Registry); initializeUnreachableBlockElimPass(*Registry); -- Mehdi > On Mar 24, 2016, at 9:59 AM, Lorenzo Laneve <lore97drk at icloud.com> wrote: > > Update: > Sorry my bad. I built llvm and tried it with debugging version. > It was an assertion (IR/LegacyPassManager.cpp:764) saying that it expects all immutable passes to be initialized. &...
2015 Dec 05
2
LTO on libraries
...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 optimizer on the intermediate rather than defer to final link for these goals. —david From: <mehdi.amini at apple.com<mailto:mehdi.amini at apple.com>> on behalf of Mehdi Amini <mehdi.amini at apple.com<mailto:mehdi.amini at apple.com>> Date: Friday, December 4, 2015 at 4:02 PM To: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>> Cc: LLVM Dev Mail...
2017 Apr 21
2
Permissions for llvm-mirror - Setting up Libc++ Appveyor builders
> On Apr 20, 2017, at 7:03 PM, Eric Fiselier <eric at efcs.ca> wrote: > > > > On Thu, Apr 20, 2017 at 4:55 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> On Apr 20, 2017, at 12:30 PM, Eric Fiselier <eric at efcs.ca <mailto:eric at efcs.ca>> wrote: >> >> >> >> On Thu, Apr 20, 2017 at 11:06 AM, Mehdi Amini <meh...
2016 Sep 13
2
what is official way to determine if we are running lto 2nd stage?
...omes into ParseInstruction. But it is problem for regular scenario where wrong asm will be printed and then passed to gas. So I want to apply this on 2nd lto stage where AsmParser is inevitable and to not apply in non-LTO cases. --- With best regards, Konstantin On Mon, Sep 12, 2016 at 10:19 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> On Sep 12, 2016, at 11:07 AM, Konstantin Vladimirov <konstantin.vladimirov at gmail.com> wrote: >> >> Hi, >> >> This is really basic block level pass. It is no difference what is >> level, problem is the...
2016 Mar 24
0
Help with pass manager
...llvm::Pass*) at llvm-3.8.0.src/lib/IR/LegacyPassManager.cpp:1755 in moduleToObjectFile(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, llvm::LLVMContext&) at Compiler/builders/llc.cpp:189 On Mar 24, 2016, at 6:21 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > So we come back to my earlier comment: can you produce a one-file, < 100 lines that reproduce the issue? > > -- > Mehdi > >> On Mar 24, 2016, at 10:16 AM, Lorenzo Laneve <lore97drk...
2019 Jan 02
2
llvm-link: why link '@llvm.global_ctors' into dest file even it's not used in dest file?
Hi all, Recently I do some jobs based on llvm-link tool. I wonder why link '@llvm.global_ctors' into dest file, even it's not used in dest file? And how can I remove it? Thank you all in advance! Fangqing Xilinx Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Mar 24
0
Help with pass manager
Those lines of code are in a function that is called before calling the moduleToObjectFile() function > On Mar 24, 2016, at 6:07 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > You may want to try adding this code (copy/pasted from llc.cpp): > > // Initialize targets first, so that --version shows registered targets. > InitializeAllTargets(); > InitializeAllTargetMCs(); > InitializeAllAsmPrin...
2016 Sep 12
3
what is official way to determine if we are running lto 2nd stage?
...th asm parser. May be it will be solution to process inline asm on insn printer level to remove syntax fixes. But just switch it off without lto will make compiler do less job P.S. sorry for dup, maillist CC lost on first sent. --- WIth best regards, Konstantin On Mon, Sep 12, 2016 at 8:52 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> On Sep 12, 2016, at 9:26 AM, Konstantin Vladimirov <konstantin.vladimirov at gmail.com> wrote: >> >> Hi, >> >> In LTO we have AsmParser that process inline assembler instructions to >> MCInst and I want...
2016 May 30
7
[cfe-dev] How to debug if LTO generate wrong code?
...l issue. Thank you! I can't test it locally, but here is a starting point in the gold plugin, inspired by the code present in clang: You need to use your linker-specific way of passing the option "-lto-use-large-codemodel=..." to the plugin. Let me know if it works for you! -- Mehdi > > > Steven Shi > Intel\SSG\STO\UEFI Firmware > > Tel: +86 021-61166522 > iNet: 821-6522 > > <>From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com] > Sent: Monday, May 30, 2016 8:17 AM > To: Shi, Steven <steven.shi at intel.com>...
2016 Sep 30
2
Adding utility/debugging passes upstream
Hi Mehdi, On Sep 30, 2016, at 4:27 PM, Mehdi Amini <mehdi.amini at apple.com<mailto:mehdi.amini at apple.com>> wrote: On Sep 30, 2016, at 12:37 PM, Anna Thomas via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi, I was wondering what’s the comm...