Page MenuHomePhabricator

ldrumm (Luke Drummond)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 1 2015, 7:42 AM (381 w, 5 d)

Recent Activity

Feb 8 2023

ldrumm committed rG22d98280dd8e: [NVPTX] Increase inline threshold multiplier to 11 in nvptx backend. (authored by JackAKirk).
[NVPTX] Increase inline threshold multiplier to 11 in nvptx backend.
Feb 8 2023, 4:43 AM · Restricted Project, Restricted Project
ldrumm closed D142232: Increase inline threshold multiplier to 11 in nvptx backend..
Feb 8 2023, 4:43 AM · Restricted Project, Restricted Project

Jan 9 2023

ldrumm added a comment to D141072: [NVPTX] Work around syntax error in PTX assembly.

Slight fly in the ointment: The existing tests exposed that that this implementation is too naive and is renaming things it shouldn't. I'll be back with a more mature implementation. Thanks for the reviews and patience

Jan 9 2023, 4:44 AM · Restricted Project, Restricted Project

Jan 5 2023

ldrumm committed rG108766fc7ef8: Fix typos (authored by ldrumm).
Fix typos
Jan 5 2023, 10:49 AM · Restricted Project, Restricted Project, Restricted Project
ldrumm added a comment to D141072: [NVPTX] Work around syntax error in PTX assembly.

TODO: Testcase

Jan 5 2023, 10:00 AM · Restricted Project, Restricted Project
ldrumm requested review of D141072: [NVPTX] Work around syntax error in PTX assembly.
Jan 5 2023, 10:00 AM · Restricted Project, Restricted Project
ldrumm committed rGd9c50cc98496: [NFC][NVPTX] Move a comment back to its proper place (authored by ldrumm).
[NFC][NVPTX] Move a comment back to its proper place
Jan 5 2023, 5:06 AM · Restricted Project, Restricted Project

Jan 4 2023

ldrumm committed rG6aa9cfb13f25: [NVPTX] Replace PTX's ManagedStringPool with StringSaver (authored by ldrumm).
[NVPTX] Replace PTX's ManagedStringPool with StringSaver
Jan 4 2023, 3:29 AM · Restricted Project, Restricted Project
ldrumm closed D140704: [NVPTX] Replace PTX's ManagedStringPool with StringSaver.
Jan 4 2023, 3:28 AM · Restricted Project, Restricted Project

Dec 27 2022

ldrumm requested review of D140704: [NVPTX] Replace PTX's ManagedStringPool with StringSaver.
Dec 27 2022, 10:58 AM · Restricted Project, Restricted Project

Dec 23 2022

ldrumm committed rG03b7ee507562: [NFC][NVPTX] Remove dead override (authored by ldrumm).
[NFC][NVPTX] Remove dead override
Dec 23 2022, 5:50 AM · Restricted Project, Restricted Project
ldrumm closed D140397: [NFC][NVPTX] Remove dead override.
Dec 23 2022, 5:49 AM · Restricted Project, Restricted Project
ldrumm added a comment to D140581: [NVPTX] Enforce minumum alignment of 4 for byval parametrs in a function prototype.

In your commit message:

  • s/parametrs/parameters
Dec 23 2022, 4:15 AM · Restricted Project, Restricted Project
ldrumm committed rG22bf4a7e89c0: [NFC][NVPTX] Remove dead comment and commented code (authored by ldrumm).
[NFC][NVPTX] Remove dead comment and commented code
Dec 23 2022, 4:11 AM · Restricted Project, Restricted Project
ldrumm closed D140399: [NFC][NVPTX] Remove dead comment and commented code.
Dec 23 2022, 4:11 AM · Restricted Project, Restricted Project

Dec 20 2022

ldrumm requested review of D140399: [NFC][NVPTX] Remove dead comment and commented code.
Dec 20 2022, 7:01 AM · Restricted Project, Restricted Project
ldrumm requested review of D140397: [NFC][NVPTX] Remove dead override.
Dec 20 2022, 6:55 AM · Restricted Project, Restricted Project

Oct 18 2022

ldrumm closed D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.

Merged in https://reviews.llvm.org/rG940fa35ece5294a115a2fdba89ef6c095d90df0f wherein I forgot to note the differential revision

Oct 18 2022, 6:44 AM · Restricted Project, Restricted Project

Oct 14 2022

ldrumm accepted D135708: [NVPTX] Fix alignment for arguments of function pointer calls.

Thanks. LGTM

Oct 14 2022, 3:45 AM · Restricted Project, Restricted Project

Oct 13 2022

ldrumm requested changes to D135708: [NVPTX] Fix alignment for arguments of function pointer calls.
Oct 13 2022, 10:52 AM · Restricted Project, Restricted Project

Oct 12 2022

ldrumm accepted D135708: [NVPTX] Fix alignment for arguments of function pointer calls.
Oct 12 2022, 6:27 AM · Restricted Project, Restricted Project
ldrumm updated subscribers of D135708: [NVPTX] Fix alignment for arguments of function pointer calls.
> Index: llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
> ===================================================================
> --- llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
> +++ llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
> @@ -4326,8 +4326,13 @@
> const uint64_t ABITypeAlign = DL.getABITypeAlign(ArgTy).value();
>  
> // If a function has linkage different from internal or private, we
> - // must use default ABI alignment as external users rely on it.
> - if (!(F && F->hasLocalLinkage()))
> + // must use default ABI alignment as external users rely on it. Same
> + // for a function that may be called from a function pointer.
> + if (!F || !F->hasLocalLinkage()) ||
> + F->hasAddressTaken(/*Users=*/nullptr,
> + /*IgnoreCallbackUses=*/false,
> + /*IgnoreAssumeLikeCalls=*/true,
> + /*IngoreLLVMUsed=*/true))
> return Align(ABITypeAlign);
>  
> assert(!isKernelFunction(*F) && "Expect kernels to have non-local
> linkage");

s/IngoreLLVMUsed/IgnoreLLVMUsed/g
otherwise LGTM

Oct 12 2022, 3:45 AM · Restricted Project, Restricted Project

Oct 11 2022

ldrumm committed rG940fa35ece52: [NVPTX] Fix a segfault for bitcasted calls with byval params (authored by ldrumm).
[NVPTX] Fix a segfault for bitcasted calls with byval params
Oct 11 2022, 7:14 AM · Restricted Project, Restricted Project
ldrumm added inline comments to D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.
Oct 11 2022, 6:58 AM · Restricted Project, Restricted Project
ldrumm updated the diff for D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.
Oct 11 2022, 6:58 AM · Restricted Project, Restricted Project

Sep 26 2022

ldrumm added inline comments to D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.
Sep 26 2022, 5:59 AM · Restricted Project, Restricted Project
ldrumm updated the diff for D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.

Code review suggestions

Sep 26 2022, 5:58 AM · Restricted Project, Restricted Project

Sep 23 2022

ldrumm requested review of D134548: [NVPTX] Fix a segfault for bitcasted calls with byval params.
Sep 23 2022, 9:25 AM · Restricted Project, Restricted Project

Sep 5 2022

ldrumm committed rG8f4e6cfe73d8: [clang-format] Use utf-8 for JSON object load (authored by kaitingwang).
[clang-format] Use utf-8 for JSON object load
Sep 5 2022, 7:41 AM · Restricted Project, Restricted Project
ldrumm closed D133236: [clang-format] Use utf-8 for JSON object load.
Sep 5 2022, 7:41 AM · Restricted Project, Restricted Project, Restricted Project
ldrumm added a comment to D133236: [clang-format] Use utf-8 for JSON object load.

Do you have commit access?

Sep 5 2022, 3:20 AM · Restricted Project, Restricted Project, Restricted Project
ldrumm accepted D133236: [clang-format] Use utf-8 for JSON object load.

LGTM

Sep 5 2022, 3:11 AM · Restricted Project, Restricted Project, Restricted Project

Oct 7 2021

ldrumm committed rG6283d468e28b: Workaround build error for mingw-g++ (authored by ldrumm).
Workaround build error for mingw-g++
Oct 7 2021, 10:36 AM
ldrumm closed D111315: Workaround build error for mingw-g++.
Oct 7 2021, 10:36 AM · Restricted Project
ldrumm updated the diff for D111315: Workaround build error for mingw-g++.
Oct 7 2021, 10:31 AM · Restricted Project
ldrumm added a comment to D111315: Workaround build error for mingw-g++.

Can you map state_not_recoverable to not_supported?

Oct 7 2021, 10:31 AM · Restricted Project
ldrumm updated the diff for D111315: Workaround build error for mingw-g++.
Oct 7 2021, 8:21 AM · Restricted Project
ldrumm requested review of D111315: Workaround build error for mingw-g++.
Oct 7 2021, 8:06 AM · Restricted Project

Apr 20 2021

ldrumm added a comment to D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .

Why would code handling llvm.dbg.cu need to add an if statement? I'd expect it to walk through whatever's in llvm.dbg.cu and if there's nothing it'd be fine with that?

Because 3 lines later we have auto *NMD = NewModule->getOrInsertNamedMetadata("llvm.dbg.cu");
In the case that the source module has no llvm.dbu.cu the target module ends up with on without operands. This is both illegal and a pain to deal with in user code.

I don't understand why it would be either illegal or a pain to deal with. (& I'm not sure it's illegal either - I modified an example IR file to have an empty llvm.dbg.cu list and it seemed to compile file (compared to other violations of IR debug info verification, which did result in an error/warning like this:

inlinable function call in a function with debug info must have a !dbg location
  call void @_Z2f1v()
warning: ignoring invalid debug info in test.ll
```)
Apr 20 2021, 10:56 AM · Restricted Project
ldrumm added a comment to D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .

Why would code handling llvm.dbg.cu need to add an if statement? I'd expect it to walk through whatever's in llvm.dbg.cu and if there's nothing it'd be fine with that?

Apr 20 2021, 8:19 AM · Restricted Project

Apr 1 2021

ldrumm added a comment to D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .

ping

Apr 1 2021, 9:27 AM · Restricted Project

Mar 31 2021

ldrumm added a comment to D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .

what was invalid about the metadata? The llvm.dbg.cu list was empty? I wonder if we should just say that's valid. It seems pretty benign/reasonable - makes it easier to write code like this, or code that, say, stripped a CU out wouldn't have to worry about removing a potentially zero-length cu list. @aprantl @JDevlieghere ?

Mar 31 2021, 4:08 AM · Restricted Project

Mar 30 2021

ldrumm added a reviewer for D84877: Support for soft fp16 to fp64 IEEE conversions: kito-cheng.

kito-cheng would you mind looking at the testing here and see whether the correctness testing of NaNs is sufficient?

Mar 30 2021, 7:42 AM · Restricted Project, Restricted Project
ldrumm added a comment to D98670: [RISCV] Pass 'half' in the lower 16 bits of an f32 value when F extension is enabled, but Zfh is not..

I just found an issue is unrelated this patch, but related to fp16, RISC-V GCC using the traditional libgcc function name scheme like __extendhfdf2(__<op><srcT><dstT><N_OP>) rather than __gnu_f2h_ieee (__gnu_*2*_ieee).

Function used in GCC:

  • __extendhfsf2 for half -> float
  • __truncsfhf2 for float -> half
  • __extendhfdf2 for double -> half
  • __truncdfhf2 for half -> double
Mar 30 2021, 3:11 AM · Restricted Project

Mar 25 2021

ldrumm updated the diff for D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .
Mar 25 2021, 6:07 AM · Restricted Project
ldrumm updated the diff for D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .
Mar 25 2021, 6:01 AM · Restricted Project
ldrumm updated the diff for D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .
Mar 25 2021, 6:01 AM · Restricted Project
ldrumm requested review of D99334: [TransformUtils] Don't generate invalid llvm.dbg.cu .
Mar 25 2021, 5:55 AM · Restricted Project

Mar 23 2021

ldrumm committed rG520f70e94d9c: [NFC] clang-format llvm/lib/Transforms/Utils/CloneFunction.cpp (authored by ldrumm).
[NFC] clang-format llvm/lib/Transforms/Utils/CloneFunction.cpp
Mar 23 2021, 5:54 AM
ldrumm committed rGab44ec1b22b7: [NFC] Minor refactor (authored by ldrumm).
[NFC] Minor refactor
Mar 23 2021, 5:54 AM
ldrumm committed rG0448ddd169ef: [NFCI] cleanup CloneFunctionInto (authored by ldrumm).
[NFCI] cleanup CloneFunctionInto
Mar 23 2021, 5:54 AM
ldrumm closed D98957: [NFCI] [TransformUtils] cleanup `CloneFunctionInto`.
Mar 23 2021, 5:53 AM · Restricted Project
ldrumm added a comment to D98957: [NFCI] [TransformUtils] cleanup `CloneFunctionInto`.

Thanks for cleaning this up!

Mostly LGTM, just please split this up into three separate commits (no need for new reviews; any order seems fine, as they seem fully independent):

Good idea. Will do

  • Unrelated whitespace changes (BTW, if you just got these incidentally, you can use git-clang-format in the future to just change the lines your commit is touching...).

Seeing as there is now a whitespace only commit, I've just opted to format the whole file as there are plently of other formatting issues picked up in this file

Mar 23 2021, 5:43 AM · Restricted Project

Mar 19 2021

ldrumm requested review of D98957: [NFCI] [TransformUtils] cleanup `CloneFunctionInto`.
Mar 19 2021, 8:49 AM · Restricted Project

Mar 16 2021

ldrumm committed rG440f6bdf34f4: [OpenCL][NFCI] Prefer CodeGenFunction::EmitRuntimeCall (authored by ldrumm).
[OpenCL][NFCI] Prefer CodeGenFunction::EmitRuntimeCall
Mar 16 2021, 9:23 AM
ldrumm closed D98705: [OpenCL] Prefer CodeGenFunction::EmitRuntimeCall.
Mar 16 2021, 9:23 AM · Restricted Project
ldrumm requested review of D98705: [OpenCL] Prefer CodeGenFunction::EmitRuntimeCall.
Mar 16 2021, 6:34 AM · Restricted Project
ldrumm added inline comments to D98411: [OpenCL] Respect calling convention for builtin .
Mar 16 2021, 5:20 AM · Restricted Project
ldrumm added a comment to D98411: [OpenCL] Respect calling convention for builtin .

Given this fixes a runtime crash bug, should it be backported to the relevant release branch?

Sure, thanks!

Mar 16 2021, 4:49 AM · Restricted Project

Mar 15 2021

ldrumm added a comment to D98411: [OpenCL] Respect calling convention for builtin .

Given this fixes a runtime crash bug, should it be backported to the relevant release branch?

Mar 15 2021, 10:32 AM · Restricted Project
ldrumm committed rGfcfd3fda7190: [OpenCL] Respect calling convention for builtin (authored by ldrumm).
[OpenCL] Respect calling convention for builtin
Mar 15 2021, 10:27 AM
ldrumm closed D98411: [OpenCL] Respect calling convention for builtin .
Mar 15 2021, 10:27 AM · Restricted Project

Mar 12 2021

ldrumm updated subscribers of D98411: [OpenCL] Respect calling convention for builtin .

@Anastasia @svenvh is this already covered by https://reviews.llvm.org/D98039 ?

Mar 12 2021, 3:38 AM · Restricted Project

Mar 11 2021

ldrumm requested review of D98411: [OpenCL] Respect calling convention for builtin .
Mar 11 2021, 4:00 AM · Restricted Project

Mar 4 2021

ldrumm added a comment to D97071: [lit] Add a TAP-formatted output mode to lit.

Ping

Mar 4 2021, 8:21 AM · Restricted Project

Feb 25 2021

ldrumm added reviewers for D97071: [lit] Add a TAP-formatted output mode to lit: jhenderson, thopre.
Feb 25 2021, 9:18 AM · Restricted Project

Feb 19 2021

ldrumm requested review of D97071: [lit] Add a TAP-formatted output mode to lit.
Feb 19 2021, 11:33 AM · Restricted Project

Nov 17 2020

ldrumm committed rG537cbd90c43d: Escape command line arguments in backtraces (authored by ldrumm).
Escape command line arguments in backtraces
Nov 17 2020, 4:16 AM
ldrumm closed D90759: Escape command line arguments in backtraces.
Nov 17 2020, 4:16 AM · Restricted Project

Nov 16 2020

ldrumm updated the diff for D90759: Escape command line arguments in backtraces.

Patch updated to not insert trailing blank

Nov 16 2020, 10:30 AM · Restricted Project

Nov 13 2020

ldrumm added a comment to D90759: Escape command line arguments in backtraces.

I absent mindedly responded to this review via email, without actually checking whether Phabricator supports this. Apologies for the delay

Nov 13 2020, 9:38 AM · Restricted Project

Nov 4 2020

ldrumm updated the diff for D90759: Escape command line arguments in backtraces.

included full diff context

Nov 4 2020, 5:45 AM · Restricted Project
ldrumm added a comment to D90759: Escape command line arguments in backtraces.

An example of the output:

Nov 4 2020, 4:51 AM · Restricted Project
ldrumm requested review of D90759: Escape command line arguments in backtraces.
Nov 4 2020, 4:51 AM · Restricted Project

Aug 25 2020

ldrumm added inline comments to D84877: Support for soft fp16 to fp64 IEEE conversions.
Aug 25 2020, 7:06 AM · Restricted Project, Restricted Project

Aug 21 2020

ldrumm updated the diff for D84877: Support for soft fp16 to fp64 IEEE conversions.
Aug 21 2020, 5:36 AM · Restricted Project, Restricted Project
ldrumm added inline comments to D84877: Support for soft fp16 to fp64 IEEE conversions.
Aug 21 2020, 4:56 AM · Restricted Project, Restricted Project

Aug 20 2020

ldrumm updated the diff for D84877: Support for soft fp16 to fp64 IEEE conversions.
Aug 20 2020, 10:14 AM · Restricted Project, Restricted Project
ldrumm added inline comments to D84877: Support for soft fp16 to fp64 IEEE conversions.
Aug 20 2020, 9:38 AM · Restricted Project, Restricted Project

Jul 29 2020

ldrumm requested review of D84877: Support for soft fp16 to fp64 IEEE conversions.
Jul 29 2020, 11:07 AM · Restricted Project, Restricted Project

Mar 12 2020

ldrumm committed rG0fa3320931e9: [lldb] reject `.debug_arange` sections with nonzero segment size (authored by ldrumm).
[lldb] reject `.debug_arange` sections with nonzero segment size
Mar 12 2020, 5:54 AM
ldrumm closed D75925: [lldb] reject `.debug_arange` sections with nonzero segment size.
Mar 12 2020, 5:54 AM · Restricted Project

Mar 11 2020

ldrumm updated the diff for D75925: [lldb] reject `.debug_arange` sections with nonzero segment size.

I found similar unittests for other DWARF entries which allow me to check more about the parser state, so I went with Pavel's suggestion for the testcase

Mar 11 2020, 10:09 AM · Restricted Project

Mar 10 2020

ldrumm created D75925: [lldb] reject `.debug_arange` sections with nonzero segment size.
Mar 10 2020, 8:39 AM · Restricted Project

Jan 27 2020

ldrumm committed rG482e890d1f94: [tablegen] Emit string literals instead of char arrays (authored by ldrumm).
[tablegen] Emit string literals instead of char arrays
Jan 27 2020, 10:29 AM
ldrumm closed D73044: {tablegen] Emit string literals instead of char arrays.
Jan 27 2020, 10:28 AM · Restricted Project
ldrumm reopened D73044: {tablegen] Emit string literals instead of char arrays.
Jan 27 2020, 7:43 AM · Restricted Project
ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.

Now emit long-string disabling GCC diagnostic pragmas around string definitions to silence gcc's -Woverlength-strings on a case-by-case basis

Jan 27 2020, 7:43 AM · Restricted Project

Jan 24 2020

ldrumm added inline comments to D73044: {tablegen] Emit string literals instead of char arrays.
Jan 24 2020, 4:08 AM · Restricted Project
ldrumm added inline comments to D73044: {tablegen] Emit string literals instead of char arrays.
Jan 24 2020, 4:08 AM · Restricted Project

Jan 23 2020

ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.
  • only pass the --long-string-literals flags to *LLVM* tablegen (fixes clang-tablegen problem)
  • suppress overlenth-string-literals warning seen in the wild: this behaviour is intended and shouldn't be warned against
Jan 23 2020, 9:40 AM · Restricted Project
ldrumm added a comment to D73044: {tablegen] Emit string literals instead of char arrays.

Hello @ldrumm,

Sorry, I had to revert this commit in e464b31c1565204e3be114d043bcbf4de61fe2e9, because it broke some Windows builds:
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/13870

Jan 23 2020, 7:52 AM · Restricted Project
ldrumm committed rGce23515f5ab0: [tablegen] Emit string literals instead of char arrays (authored by ldrumm).
[tablegen] Emit string literals instead of char arrays
Jan 23 2020, 6:03 AM
ldrumm closed D73044: {tablegen] Emit string literals instead of char arrays.
Jan 23 2020, 6:03 AM · Restricted Project

Jan 21 2020

ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.

Remove compile-time detection. Make this a runtime only flag

Jan 21 2020, 11:37 AM · Restricted Project
ldrumm added a comment to D73044: {tablegen] Emit string literals instead of char arrays.

First char of the title: { -> [.

Thanks. Phabricator doesn't seem to track the git commit message, but I've fixed this is on my tree

Jan 21 2020, 8:36 AM · Restricted Project
mstojanovic awarded D73044: {tablegen] Emit string literals instead of char arrays a Love token.
Jan 21 2020, 3:46 AM · Restricted Project
ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.

Change the cmake flag check to if(MSVC) rather than if(CMAKE_GENERATOR MATCHES "Visual Studio"). CMAKE_GENERATOR is not the compiler

Jan 21 2020, 3:41 AM · Restricted Project

Jan 20 2020

ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.
Jan 20 2020, 10:07 AM · Restricted Project
ldrumm updated the diff for D73044: {tablegen] Emit string literals instead of char arrays.

Ensure elaborate cross-compilation setups are supported

Jan 20 2020, 10:07 AM · Restricted Project