Page MenuHomePhabricator

DavidTruby (David Truby)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 3 2018, 7:41 AM (233 w, 2 d)

Recent Activity

Thu, Mar 16

DavidTruby added a comment to D145808: [Flang] Change fir.divc to perform library call rather than generate inline operations..

@jdoerfert Would using functions from compiler-rt cause issues with target offloading?
Context: We are thinking of using functions from compiler-rt for implementing the complex division operation. The existing implementations in Flang (an inline one) and the one on MLIR both have precision issues whereas the compiler-rt ones work fine.

Thu, Mar 16, 6:29 AM · Restricted Project, Restricted Project

Wed, Mar 8

DavidTruby committed rG00671c0fa7ae: [flang] Implement atand intrinsic (authored by DavidTruby).
[flang] Implement atand intrinsic
Wed, Mar 8, 5:57 AM · Restricted Project, Restricted Project
DavidTruby closed D144885: [flang] Implement atand intrinsic.
Wed, Mar 8, 5:56 AM · Restricted Project, Restricted Project

Mon, Mar 6

DavidTruby added a comment to D144885: [flang] Implement atand intrinsic.

ping

Mon, Mar 6, 8:08 AM · Restricted Project, Restricted Project
DavidTruby committed rG75ddabd520db: [flang] Implement ieee_is_normal (authored by DavidTruby).
[flang] Implement ieee_is_normal
Mon, Mar 6, 6:47 AM · Restricted Project, Restricted Project
DavidTruby closed D144966: [flang] Implement ieee_is_normal.
Mon, Mar 6, 6:47 AM · Restricted Project, Restricted Project

Thu, Mar 2

DavidTruby accepted D145061: [Flang][OpenMP] Improved reduction clause TODO message.

LGTM

Thu, Mar 2, 8:50 AM · Restricted Project, Restricted Project
DavidTruby accepted D144766: [Flang][OpenMP] NFC: Refactor privatization code in Lowering 1/n.

LGTM

Thu, Mar 2, 8:50 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D144966: [flang] Implement ieee_is_normal.

Add checks for negative and positive zero
Add tests for f16 and bf16

Thu, Mar 2, 7:31 AM · Restricted Project, Restricted Project

Wed, Mar 1

DavidTruby committed rG4ee8aef4de45: [flang] Implement isnan and ieee_is_nan intrinsics (authored by DavidTruby).
[flang] Implement isnan and ieee_is_nan intrinsics
Wed, Mar 1, 5:29 AM · Restricted Project, Restricted Project
DavidTruby closed D144649: [flang] Implement isnan and ieee_is_nan intrinsics.
Wed, Mar 1, 5:28 AM · Restricted Project, Restricted Project

Tue, Feb 28

DavidTruby added reviewers for D144966: [flang] Implement ieee_is_normal: jeanPerier, kiranchandramohan.
Tue, Feb 28, 7:14 AM · Restricted Project, Restricted Project
DavidTruby requested review of D144966: [flang] Implement ieee_is_normal.
Tue, Feb 28, 7:14 AM · Restricted Project, Restricted Project
DavidTruby added inline comments to D144885: [flang] Implement atand intrinsic.
Tue, Feb 28, 7:11 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D144885: [flang] Implement atand intrinsic.

Fold constant divide at compile time before MLIR

Tue, Feb 28, 7:10 AM · Restricted Project, Restricted Project
DavidTruby committed rG3cf8259519c9: [flang] Allow `to` argument of move_alloc to be class(*) (authored by DavidTruby).
[flang] Allow `to` argument of move_alloc to be class(*)
Tue, Feb 28, 6:33 AM · Restricted Project, Restricted Project
DavidTruby closed D143571: [flang] Allow `to` argument of move_alloc to be class(*).
Tue, Feb 28, 6:33 AM · Restricted Project, Restricted Project

Mon, Feb 27

DavidTruby updated the summary of D144885: [flang] Implement atand intrinsic.
Mon, Feb 27, 9:01 AM · Restricted Project, Restricted Project
DavidTruby added inline comments to D144885: [flang] Implement atand intrinsic.
Mon, Feb 27, 8:44 AM · Restricted Project, Restricted Project
DavidTruby added reviewers for D144885: [flang] Implement atand intrinsic: jeanPerier, kiranchandramohan, tblah.
Mon, Feb 27, 8:44 AM · Restricted Project, Restricted Project
DavidTruby requested review of D144885: [flang] Implement atand intrinsic.
Mon, Feb 27, 8:43 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D144649: [flang] Implement isnan and ieee_is_nan intrinsics.

Use suggested check for constant argument instead

Mon, Feb 27, 6:32 AM · Restricted Project, Restricted Project

Fri, Feb 24

DavidTruby added inline comments to D144649: [flang] Implement isnan and ieee_is_nan intrinsics.
Fri, Feb 24, 7:02 AM · Restricted Project, Restricted Project
DavidTruby added inline comments to D144649: [flang] Implement isnan and ieee_is_nan intrinsics.
Fri, Feb 24, 6:59 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D144649: [flang] Implement isnan and ieee_is_nan intrinsics.

Remove unnecessary casts to f32 for other real types

Fri, Feb 24, 6:57 AM · Restricted Project, Restricted Project

Thu, Feb 23

DavidTruby added inline comments to D144649: [flang] Implement isnan and ieee_is_nan intrinsics.
Thu, Feb 23, 3:25 PM · Restricted Project, Restricted Project
DavidTruby updated the diff for D144649: [flang] Implement isnan and ieee_is_nan intrinsics.

Clarify in unit test that in the f64 case we convert to f32 first

Thu, Feb 23, 8:31 AM · Restricted Project, Restricted Project
DavidTruby added reviewers for D144649: [flang] Implement isnan and ieee_is_nan intrinsics: kiranchandramohan, SBallantyne.
Thu, Feb 23, 8:28 AM · Restricted Project, Restricted Project
DavidTruby requested review of D144649: [flang] Implement isnan and ieee_is_nan intrinsics.
Thu, Feb 23, 8:28 AM · Restricted Project, Restricted Project

Feb 16 2023

DavidTruby added a comment to D143571: [flang] Allow `to` argument of move_alloc to be class(*).

I think we just want to get rid of this. Is there an additional check that needs doing somewhere in Semantic analysis or anything? I couldn't find a case that shouldn't be allowed that is when I tried.

Feb 16 2023, 6:50 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D143571: [flang] Allow `to` argument of move_alloc to be class(*).

Remove check entirely

Feb 16 2023, 6:49 AM · Restricted Project, Restricted Project

Feb 10 2023

DavidTruby accepted D143560: clang-format.el: fix warnings .

LGTM

Feb 10 2023, 6:06 AM · Restricted Project, Restricted Project, Restricted Project

Feb 8 2023

DavidTruby added inline comments to D143571: [flang] Allow `to` argument of move_alloc to be class(*).
Feb 8 2023, 4:17 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D143560: clang-format.el: fix warnings .

I think the other suggestion from the warning should be applied, as I don't think it _is_ intended that "quote" is matched by either of these. It would actually be odd if it did as you'd have two matches.

Feb 8 2023, 3:39 AM · Restricted Project, Restricted Project, Restricted Project
DavidTruby requested review of D143571: [flang] Allow `to` argument of move_alloc to be class(*).
Feb 8 2023, 3:29 AM · Restricted Project, Restricted Project

Jan 31 2023

DavidTruby committed rG2526013a2266: [flang] Improve error message for move_alloc (authored by DavidTruby).
[flang] Improve error message for move_alloc
Jan 31 2023, 6:59 AM · Restricted Project, Restricted Project
DavidTruby closed D142899: [flang] Improve error message for move_alloc.
Jan 31 2023, 6:59 AM · Restricted Project, Restricted Project

Jan 30 2023

DavidTruby updated subscribers of D142899: [flang] Improve error message for move_alloc.
Jan 30 2023, 7:57 AM · Restricted Project, Restricted Project
DavidTruby requested review of D142899: [flang] Improve error message for move_alloc.
Jan 30 2023, 7:56 AM · Restricted Project, Restricted Project

Jan 20 2023

DavidTruby committed rG2ab1c6d375b9: [flang] Add lowering of move_alloc to IntrinsicCall (authored by DavidTruby).
[flang] Add lowering of move_alloc to IntrinsicCall
Jan 20 2023, 7:12 AM · Restricted Project, Restricted Project
DavidTruby closed D141616: [flang] Add lowering of move_alloc to IntrinsicCall.
Jan 20 2023, 7:12 AM · Restricted Project, Restricted Project

Jan 19 2023

DavidTruby added a comment to D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

The new failure doesn't look related to this patch, unless I'm mistaken?

Jan 19 2023, 5:01 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

Thanks for the suggested fix, I was wondering why this wasn't failing for me locally. Hopefully it will work this time!

Jan 19 2023, 4:42 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

Add dependencies to CMake test file

Jan 19 2023, 4:41 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D142069: [flang] Fixed unittest build issue with older gcc..

Thanks for fixing this!

Jan 19 2023, 3:35 AM · Restricted Project, Restricted Project

Jan 18 2023

DavidTruby updated the diff for D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

Rebase on top of runtime

Jan 18 2023, 7:41 AM · Restricted Project, Restricted Project
DavidTruby committed rGe4d9a5e616f3: [flang] Add implementation of move_alloc to the runtime (authored by DavidTruby).
[flang] Add implementation of move_alloc to the runtime
Jan 18 2023, 7:38 AM · Restricted Project, Restricted Project
DavidTruby closed D141286: [flang] Add implementation of move_alloc to the runtime.
Jan 18 2023, 7:38 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D141932: [flang] Add TODO for allocate array with scalar source.

This appears to be breaking the buildbots (and causing failures for me locally), for example here: https://lab.llvm.org/buildbot/#/builders/160/builds/15142. Could we revert until it can be fixed?

Jan 18 2023, 7:24 AM · Restricted Project, Restricted Project

Jan 17 2023

DavidTruby added inline comments to D141401: [mlir] Add `mlir::blockIsInLoop()`.
Jan 17 2023, 6:54 AM · Restricted Project, Restricted Project

Jan 16 2023

DavidTruby updated the diff for D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

Spell out auto variables

Jan 16 2023, 6:15 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D141286: [flang] Add implementation of move_alloc to the runtime.

Rebase and spelling correction

Jan 16 2023, 6:10 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D141616: [flang] Add lowering of move_alloc to IntrinsicCall.

Rebase and spelling correction

Jan 16 2023, 6:10 AM · Restricted Project, Restricted Project
DavidTruby added inline comments to D141286: [flang] Add implementation of move_alloc to the runtime.
Jan 16 2023, 6:05 AM · Restricted Project, Restricted Project

Jan 12 2023

DavidTruby added reviewers for D141616: [flang] Add lowering of move_alloc to IntrinsicCall: kiranchandramohan, jeanPerier, MatsPetersson.
Jan 12 2023, 8:06 AM · Restricted Project, Restricted Project
DavidTruby requested review of D141616: [flang] Add lowering of move_alloc to IntrinsicCall.
Jan 12 2023, 8:06 AM · Restricted Project, Restricted Project
DavidTruby added inline comments to D141401: [mlir] Add `mlir::blockIsInLoop()`.
Jan 12 2023, 6:52 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D141286: [flang] Add implementation of move_alloc to the runtime.

Fix error string comparison check

Jan 12 2023, 5:49 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D141286: [flang] Add implementation of move_alloc to the runtime.

Thanks for the review!

Jan 12 2023, 5:27 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D141286: [flang] Add implementation of move_alloc to the runtime.

Use Destroy over Deallocate
Don't swap the descriptors
Add handling for MOVE_ALLOC(x,x)

Jan 12 2023, 5:20 AM · Restricted Project, Restricted Project

Jan 9 2023

DavidTruby added reviewers for D141286: [flang] Add implementation of move_alloc to the runtime: kiranchandramohan, MatsPetersson, tblah.
Jan 9 2023, 7:34 AM · Restricted Project, Restricted Project
DavidTruby added a reviewer for D141286: [flang] Add implementation of move_alloc to the runtime: jeanPerier.
Jan 9 2023, 7:34 AM · Restricted Project, Restricted Project
DavidTruby requested review of D141286: [flang] Add implementation of move_alloc to the runtime.
Jan 9 2023, 7:34 AM · Restricted Project, Restricted Project
DavidTruby committed rG15e734fe6c6e: [flang] Disable LTO when building the flang runtime (authored by DavidTruby).
[flang] Disable LTO when building the flang runtime
Jan 9 2023, 6:36 AM · Restricted Project, Restricted Project
DavidTruby closed D140016: [flang] Disable LTO when building the flang runtime.
Jan 9 2023, 6:35 AM · Restricted Project, Restricted Project

Dec 14 2022

DavidTruby added a comment to D140016: [flang] Disable LTO when building the flang runtime.

Note: this doesn't actually make LTO builds work correctly. There appears to be a bug where LTO builds sometimes cause segmentation faults at flang runtime. This patch just allows LTO builds to build correctly.

Dec 14 2022, 5:39 AM · Restricted Project, Restricted Project
DavidTruby added reviewers for D140016: [flang] Disable LTO when building the flang runtime: tblah, kiranchandramohan, MatsPetersson, jeanPerier.
Dec 14 2022, 5:38 AM · Restricted Project, Restricted Project
DavidTruby requested review of D140016: [flang] Disable LTO when building the flang runtime.
Dec 14 2022, 5:38 AM · Restricted Project, Restricted Project

Dec 12 2022

DavidTruby added inline comments to D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..
Dec 12 2022, 6:57 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 9 2022

DavidTruby committed rGb72f1ec9fbb1: [openmp][mlir] Lower parallel if to new fork_call_if function. (authored by DavidTruby).
[openmp][mlir] Lower parallel if to new fork_call_if function.
Dec 9 2022, 6:25 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby closed D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..
Dec 9 2022, 6:25 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 7 2022

DavidTruby added a comment to D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..

@jdoerfert I've had to change this quite a bit to cover some corner cases that came up, are you still happy with it?

Dec 7 2022, 5:39 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 6 2022

DavidTruby updated the diff for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..

Fix failing MLIR lit tests

Dec 6 2022, 7:08 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 1 2022

DavidTruby updated the diff for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..

Make compatible with C and add unit test.

Dec 1 2022, 8:51 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 28 2022

DavidTruby updated the diff for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..

Fix failing unit test

Nov 28 2022, 8:00 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby added inline comments to D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..
Nov 28 2022, 6:52 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby added inline comments to D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..
Nov 28 2022, 6:50 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 24 2022

DavidTruby accepted D138530: [Flang][Test] Add support to change the default target triple for tests.

LGTM, if this supports getting more flang build bots up then I do think it has value
Thanks!

Nov 24 2022, 6:20 AM · Restricted Project, Restricted Project

Nov 22 2022

DavidTruby added a comment to D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..

This is intended to fix https://github.com/llvm/llvm-project/issues/58233 .
Does this look like the right sort of approach to push the fork handling into the runtime?

Nov 22 2022, 6:41 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby accepted D138023: [FLANG] Fix MSVC + clang-cl build.

On MSVC flang uses a completely custom int128 implementation to get around it lacking int128 support, see: flang/include/flang/Common/uint128.h
I think with clang-cl on Windows we're better off using the builtins and using compiler-rt than using the custom implementation, so fixing this looks sensible.

Nov 22 2022, 6:38 AM · Restricted Project, Restricted Project, Restricted Project
DavidTruby added a reviewer for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function.: kiranktp.
Nov 22 2022, 6:28 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby added a reviewer for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function.: Meinersbur.
Nov 22 2022, 6:27 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby added a reviewer for D138495: [openmp][mlir] Lower parallel if to new fork_call_if function.: kiranchandramohan.
Nov 22 2022, 6:26 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
DavidTruby requested review of D138495: [openmp][mlir] Lower parallel if to new fork_call_if function..
Nov 22 2022, 6:26 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 4 2022

DavidTruby committed rG42220c58685e: [flang][RFC] Proposal for complex number lowering through MLIR (authored by DavidTruby).
[flang][RFC] Proposal for complex number lowering through MLIR
Nov 4 2022, 7:21 AM · Restricted Project, Restricted Project
DavidTruby closed D134364: [flang][RFC] Proposal for complex number lowering through MLIR.
Nov 4 2022, 7:21 AM · Restricted Project, Restricted Project

Nov 1 2022

DavidTruby updated the diff for D134364: [flang][RFC] Proposal for complex number lowering through MLIR.

Add clarification about what is done for unsupported operations.

Nov 1 2022, 7:17 AM · Restricted Project, Restricted Project

Oct 26 2022

DavidTruby added a comment to D135882: [flang] Use mlir complex dialect for supported operations.

Thanks! LGTM

Oct 26 2022, 5:46 AM · Restricted Project, Restricted Project
DavidTruby committed rG000de6664911: [flang] Use mlir complex dialect for supported operations (authored by DavidTruby).
[flang] Use mlir complex dialect for supported operations
Oct 26 2022, 5:38 AM · Restricted Project, Restricted Project
DavidTruby closed D135882: [flang] Use mlir complex dialect for supported operations.
Oct 26 2022, 5:38 AM · Restricted Project, Restricted Project

Oct 25 2022

DavidTruby added inline comments to D135882: [flang] Use mlir complex dialect for supported operations.
Oct 25 2022, 7:11 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D135882: [flang] Use mlir complex dialect for supported operations.

Fix includes
Add size suggestion to SmallVector

Oct 25 2022, 7:11 AM · Restricted Project, Restricted Project

Oct 24 2022

DavidTruby updated the diff for D135882: [flang] Use mlir complex dialect for supported operations.

clang-format

Oct 24 2022, 8:00 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D135882: [flang] Use mlir complex dialect for supported operations.

Add flag to control new behaviour.
Take results of operations as mlir::complex and convert to fir::complex.

Oct 24 2022, 8:00 AM · Restricted Project, Restricted Project

Oct 18 2022

DavidTruby added a comment to D136080: [flang] Add -ffp-contract option processing.

Glad to see this flag being added to flang-new! As a note to self I've written some tests that should be updated once this lands that currently don't pass through the flang-new driver.

Oct 18 2022, 5:47 PM · Restricted Project, Restricted Project, Restricted Project

Oct 17 2022

DavidTruby added inline comments to D135882: [flang] Use mlir complex dialect for supported operations.
Oct 17 2022, 6:16 PM · Restricted Project, Restricted Project

Oct 14 2022

DavidTruby added a comment to D135959: [flang] Introduce option to lower expression to HLFIR.

Good to see HLFIR getting going! Do you have a plan to support this in the flang-new driver as well as bbc?

Oct 14 2022, 8:29 AM · Restricted Project, Restricted Project

Oct 13 2022

DavidTruby added inline comments to D135882: [flang] Use mlir complex dialect for supported operations.
Oct 13 2022, 8:30 AM · Restricted Project, Restricted Project
DavidTruby added a comment to D134364: [flang][RFC] Proposal for complex number lowering through MLIR.

I've uploaded D135882 now which shows this approach in action

Oct 13 2022, 8:29 AM · Restricted Project, Restricted Project
DavidTruby updated the diff for D135882: [flang] Use mlir complex dialect for supported operations.

Remove unnecessary convert.

Oct 13 2022, 8:28 AM · Restricted Project, Restricted Project