Page MenuHomePhabricator
Feed Advanced Search

Today

awarzynski added a comment to D146814: [Flang] Add debug flag to enable current debug information pass.

Thanks for the updates! A few more pointers, but nothing major.

Mon, Mar 27, 1:46 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski retitled D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags from [mlir-cpu-runner] Add support for `-mattr` and `-march` flags to [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags.
Mon, Mar 27, 1:17 PM · Restricted Project, Restricted Project
awarzynski accepted D146850: [OpenMP][Flang][MLIR] Implement OffloadModuleInterface for OpenMP Dialect and convert is_device to an Attribute.

Thanks, LGTM!

Mon, Mar 27, 10:23 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a reviewer for D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags: dcaballe.
Mon, Mar 27, 9:56 AM · Restricted Project, Restricted Project
awarzynski updated the diff for D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags.

Fix verify-flags.mlir

Mon, Mar 27, 9:56 AM · Restricted Project, Restricted Project
awarzynski added a comment to D145579: [Clang][Flang][AMDGPU] Add support for AMDGPU to Flang driver.

Thanks for the updates, mostly looks good. Just a couple of extra questions about the test coverage.

Mon, Mar 27, 8:09 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D142347: [NFC][Clang] Move DebugOptions to llvm/Frontend for reuse in Flang.

LGTM, thanks! As @kiranchandramohan points out, this is in line with the overall direction that we agreed on a while back.

Mon, Mar 27, 7:17 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D146814: [Flang] Add debug flag to enable current debug information pass.

What's the overall design goal here? 100% consistency with Clang? Could this be documented?

Mon, Mar 27, 5:53 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski updated the diff for D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags.

Fix Toy examples builds

Mon, Mar 27, 12:49 AM · Restricted Project, Restricted Project
awarzynski requested review of D146935: [mlir-cpu-runner] Add export_executable_symbols in CMake..
Mon, Mar 27, 12:29 AM · Restricted Project, Restricted Project
awarzynski added a reviewer for D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags: c-rhodes.
Mon, Mar 27, 12:13 AM · Restricted Project, Restricted Project

Yesterday

awarzynski added a reviewer for D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags: ftynse.
Sun, Mar 26, 10:15 AM · Restricted Project, Restricted Project
awarzynski added inline comments to D145579: [Clang][Flang][AMDGPU] Add support for AMDGPU to Flang driver.
Sun, Mar 26, 10:15 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski requested review of D146917: [mlir][mlir-cpu-runner] Add support for `-mattr` and `-march` flags.
Sun, Mar 26, 9:15 AM · Restricted Project, Restricted Project

Fri, Mar 24

awarzynski added a comment to D146814: [Flang] Add debug flag to enable current debug information pass.

Thanks for submitting this! Please add tests for -g and all variants of -gline-tables-only.

Fri, Mar 24, 9:12 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D146075: [flang][driver][openmp] Write MLIR for -save-temps.

LGTM!

Fri, Mar 24, 9:08 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D146807: [flang][Driver] Fix lto-flags.f90 on Solaris.

LGTM, thanks!

Fri, Mar 24, 5:51 AM · Restricted Project, Restricted Project
awarzynski committed rGcf60d3f1a688: [mlir][arith] Extend the `floordivsi` converter (authored by awarzynski).
[mlir][arith] Extend the `floordivsi` converter
Fri, Mar 24, 1:50 AM · Restricted Project, Restricted Project
awarzynski closed D146741: [mlir][arith] Extend `floordivsi` expansion.
Fri, Mar 24, 1:49 AM · Restricted Project, Restricted Project

Thu, Mar 23

awarzynski updated the diff for D146741: [mlir][arith] Extend `floordivsi` expansion.

Address Diego's comments

Thu, Mar 23, 1:21 PM · Restricted Project, Restricted Project
awarzynski accepted D146075: [flang][driver][openmp] Write MLIR for -save-temps.

This is a very nice patch, thanks for working on this! A few final nits, but feel free to ignore. LGTM

Thu, Mar 23, 12:19 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski requested review of D146741: [mlir][arith] Extend `floordivsi` expansion.
Thu, Mar 23, 10:48 AM · Restricted Project, Restricted Project

Wed, Mar 22

awarzynski added a comment to D145579: [Clang][Flang][AMDGPU] Add support for AMDGPU to Flang driver.

A few more comments, but mostly nits. Btw, is this patch sufficient to generate code for AMDGPU? Or, put differently, what's the level of support atm?

Wed, Mar 22, 6:46 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D146278: [flang] add -flang-experimental-hlfir flag to flang-new.

LGTM, thanks!

Wed, Mar 22, 6:10 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145579: [Clang][Flang][AMDGPU] Add support for AMDGPU to Flang driver.

Really nice to see some shared code being elevated out of Clang into LLVM, thanks!

Wed, Mar 22, 2:40 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project

Tue, Mar 21

awarzynski added inline comments to D146278: [flang] add -flang-experimental-hlfir flag to flang-new.
Tue, Mar 21, 10:12 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D146075: [flang][driver][openmp] Write MLIR for -save-temps.

Thanks for the updates!

Tue, Mar 21, 10:03 AM · Restricted Project, Restricted Project, Restricted Project

Mon, Mar 20

awarzynski added inline comments to D146278: [flang] add -flang-experimental-hlfir flag to flang-new.
Mon, Mar 20, 8:26 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D146278: [flang] add -flang-experimental-hlfir flag to flang-new.
Mon, Mar 20, 6:55 AM · Restricted Project, Restricted Project, Restricted Project

Sun, Mar 19

awarzynski accepted D146333: [Flang] Exit gracefully with a useful message when we fail to lookup a target.

LGTM, thanks for improving this!

Sun, Mar 19, 5:24 AM · Restricted Project, Restricted Project
awarzynski added a comment to D146333: [Flang] Exit gracefully with a useful message when we fail to lookup a target.

We already have an error message, so print it as well.

I'm not sure I follow - can you elaborate? This patch is switching from an assertion to a diagnostic. The error message inside the assert will be printed regardless of whether a diagnostic is used or not.

Before we were failing the assert with just a fixed message: "Failed to create Target".
With this patch we will also print the error description stored in the string error and then abort.

Sun, Mar 19, 5:20 AM · Restricted Project, Restricted Project

Sat, Mar 18

awarzynski added a comment to D146333: [Flang] Exit gracefully with a useful message when we fail to lookup a target.

We already have an error message, so print it as well.

Sat, Mar 18, 7:22 AM · Restricted Project, Restricted Project
awarzynski added inline comments to D146333: [Flang] Exit gracefully with a useful message when we fail to lookup a target.
Sat, Mar 18, 7:20 AM · Restricted Project, Restricted Project

Fri, Mar 17

awarzynski accepted D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Fri, Mar 17, 8:32 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D146278: [flang] add -flang-experimental-hlfir flag to flang-new.

Could you add some tests?

Fri, Mar 17, 5:05 AM · Restricted Project, Restricted Project, Restricted Project

Thu, Mar 16

awarzynski added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Thu, Mar 16, 3:13 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.

LGTM, thanks for working on this! Would be great for somebody with a bit more experience with offloading to OK this as well :) @tschuett or perhaps @jhuber6 ?

Thu, Mar 16, 1:47 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Thu, Mar 16, 7:41 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D146204: [flang] Fix build error caused by missing llvm-readelf.

Thanks for checking - something for a TODO list!

Thu, Mar 16, 2:45 AM · Restricted Project, Restricted Project
awarzynski added a comment to D146204: [flang] Fix build error caused by missing llvm-readelf.

Thanks! Would replacing llvm-readelf -h with llvm-objdump -f also work? I'd rather avoid new dependencies if possible.

Thu, Mar 16, 2:37 AM · Restricted Project, Restricted Project
awarzynski added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Thu, Mar 16, 2:23 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Thu, Mar 16, 2:11 AM · Restricted Project, Restricted Project, Restricted Project

Wed, Mar 15

awarzynski added a comment to D146075: [flang][driver][openmp] Write MLIR for -save-temps.

What is the policy on trivial braces in the frontend?

Wed, Mar 15, 10:20 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D146075: [flang][driver][openmp] Write MLIR for -save-temps.

Please add tests ;)

Wed, Mar 15, 9:52 AM · Restricted Project, Restricted Project, Restricted Project

Tue, Mar 14

awarzynski added inline comments to D145992: [flang] Handle Flang examples consistently with LLVM..
Tue, Mar 14, 1:01 PM · Restricted Project, Restricted Project
awarzynski added a reviewer for D146075: [flang][driver][openmp] Write MLIR for -save-temps: DavidTruby.
Tue, Mar 14, 12:10 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D143572: [RFC][Flang][driver] Try to support `flang -cc1as`.

@sunshaoce, @awarzynski are there remaining issues with this patch?

Tue, Mar 14, 6:46 AM · Restricted Project, Restricted Project
awarzynski added a comment to D145992: [flang] Handle Flang examples consistently with LLVM..

Thanks for improving these improvements @vzakhari !

Tue, Mar 14, 3:01 AM · Restricted Project, Restricted Project

Mon, Mar 13

awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 2:11 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D145883: [Flang][RISCV] Emit target features for RISC-V.

LGTM, thanks for contributing!

Mon, Mar 13, 1:04 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 11:31 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 10:22 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 9:26 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Mon, Mar 13, 8:48 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 8:33 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 7:39 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145883: [Flang][RISCV] Emit target features for RISC-V.

Fix the issue of .o file generated by Flang with Flags info is 0x0 under RISC-V.

Mon, Mar 13, 3:40 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Mon, Mar 13, 1:26 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145883: [Flang][RISCV] Emit target features for RISC-V.

Why does "flang/test/Driver/target-features.f90" list all RISC-V features? Why not use https://github.com/llvm/llvm-project/blob/main/flang/test/Driver/target-cpu-features.f90 instead?

Mon, Mar 13, 1:18 AM · Restricted Project, Restricted Project, Restricted Project

Sat, Mar 11

awarzynski accepted D145845: [Flang] Allow compile *.f03, *.f08 file.

LGTM, thanks!

Sat, Mar 11, 7:21 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D145845: [Flang] Allow compile *.f03, *.f08 file.
Sat, Mar 11, 7:17 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145845: [Flang] Allow compile *.f03, *.f08 file.

I'd move these tests to flang/test/Driver/supported-suffices. That would help documenting what these tests actual check for. Also, one could be tempted to test for other suffices and then it would be nice to keep them in one place. Ta!

Sat, Mar 11, 7:07 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145845: [Flang] Allow compile *.f03, *.f08 file.

Thanks!

Thanks. Can you add tests in flang/test/Driver?

Hm, this is a clangDriver change rather than anything Flang specific 🤔 . Btw, how does https://github.com/llvm/llvm-project/issues/61260 manifest to you? I'm trying to figure out how to best test it (I couldn't find any other tests for this specifically).

Cannot we just have a a .f03 file and compile it and see if we have an executable?

Sat, Mar 11, 7:01 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D145845: [Flang] Allow compile *.f03, *.f08 file.

Thanks. Can you add tests in flang/test/Driver?

Sat, Mar 11, 6:33 AM · Restricted Project, Restricted Project, Restricted Project

Wed, Mar 8

awarzynski committed rG7a078b65fb88: [mlir][linalg] Refine how contiguous loads are identified (authored by awarzynski).
[mlir][linalg] Refine how contiguous loads are identified
Wed, Mar 8, 12:24 AM · Restricted Project, Restricted Project
awarzynski closed D145385: [mlir][linalg] Refine how contiguous loads are identified.
Wed, Mar 8, 12:24 AM · Restricted Project, Restricted Project

Tue, Mar 7

awarzynski updated the diff for D145385: [mlir][linalg] Refine how contiguous loads are identified.

Address PR comments

Tue, Mar 7, 8:34 AM · Restricted Project, Restricted Project
awarzynski added a comment to D145385: [mlir][linalg] Refine how contiguous loads are identified.

I'd love to see this also working for 2D vectors :)

Tue, Mar 7, 8:31 AM · Restricted Project, Restricted Project
awarzynski accepted D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.

And then provided @awarzynski is happy with the current state of the patch

Tue, Mar 7, 8:16 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.
Tue, Mar 7, 2:12 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Mon, Mar 6

awarzynski added inline comments to D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.
Mon, Mar 6, 10:10 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski updated the diff for D145385: [mlir][linalg] Refine how contiguous loads are identified.

Apply clang-format

Mon, Mar 6, 7:24 AM · Restricted Project, Restricted Project
awarzynski requested review of D145385: [mlir][linalg] Refine how contiguous loads are identified.
Mon, Mar 6, 7:22 AM · Restricted Project, Restricted Project

Fri, Mar 3

awarzynski added inline comments to D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.
Fri, Mar 3, 2:14 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski accepted D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.

Thank you very much @awarzynski for suggesting them that was a great help.

Fri, Mar 3, 9:40 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Thu, Mar 2

awarzynski accepted D142420: [Flang] Add support to use LTO specific pipelines.

LGTM, many thanks for working on this!

Thu, Mar 2, 12:55 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D142420: [Flang] Add support to use LTO specific pipelines.

[nit]

After this patch:
Thu, Mar 2, 3:48 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D144864: [Flang][Driver][MLIR] Add -fopenmp-is-device to Flang and link to an omp.is_device attribute.
Thu, Mar 2, 3:34 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
awarzynski committed rG8ece85a682f0: [mlir][linalg] Vectorize tensor.extract using contiguous loads (authored by awarzynski).
[mlir][linalg] Vectorize tensor.extract using contiguous loads
Thu, Mar 2, 1:21 AM · Restricted Project, Restricted Project
awarzynski closed D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.
Thu, Mar 2, 1:20 AM · Restricted Project, Restricted Project

Wed, Mar 1

awarzynski updated the diff for D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.

Refine how contiguous loads are identified

Wed, Mar 1, 8:47 AM · Restricted Project, Restricted Project
awarzynski reopened D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.
Wed, Mar 1, 8:39 AM · Restricted Project, Restricted Project

Tue, Feb 28

awarzynski added a comment to D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.

@bkramer , sorry about this issue and thanks for reverting!

Tue, Feb 28, 9:53 AM · Restricted Project, Restricted Project
awarzynski added inline comments to D142420: [Flang] Add support to use LTO specific pipelines.
Tue, Feb 28, 8:24 AM · Restricted Project, Restricted Project, Restricted Project

Feb 23 2023

awarzynski accepted D144630: [Flang][Driver] NFC: Fix plugin test to work on Mac.

Thanks Kiran!

Feb 23 2023, 8:01 AM · Restricted Project, Restricted Project
awarzynski accepted D144592: [flang] Fix linker test on Windows..

LGTM, thanks!

Feb 23 2023, 2:35 AM · Restricted Project, Restricted Project

Feb 22 2023

awarzynski committed rG89b144ece330: [mlir][linalg] Vectorize tensor.extract using contiguous loads (authored by awarzynski).
[mlir][linalg] Vectorize tensor.extract using contiguous loads
Feb 22 2023, 11:33 AM · Restricted Project, Restricted Project
awarzynski closed D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.
Feb 22 2023, 11:33 AM · Restricted Project, Restricted Project

Feb 21 2023

awarzynski accepted D143301: [flang] Handle unsupported warning flags.

LGTM, thanks for seeing this through! :)

Feb 21 2023, 1:51 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added inline comments to D143301: [flang] Handle unsupported warning flags.
Feb 21 2023, 9:17 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski updated the diff for D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.

Restore the "vectorize_nd_extract" attribute

Feb 21 2023, 9:02 AM · Restricted Project, Restricted Project

Feb 20 2023

awarzynski updated the diff for D141998: [mlir][linalg] Vectorize tensor.extract using contiguous loads.
  • Remove the vectorize_nd_extract attribute
  • Rebase on top of main
Feb 20 2023, 11:46 AM · Restricted Project, Restricted Project

Feb 19 2023

awarzynski accepted D144342: Fix potential crash in Flang generateLLVMIR() when MLIR fails to translate to LLVM.

LGTM, thanks for the fix Mehdi!

Feb 19 2023, 8:41 AM · Restricted Project, Restricted Project

Feb 17 2023

awarzynski added a comment to D143301: [flang] Handle unsupported warning flags.

@elmcdonough , let me rephrase this (should've been clearer before, sorry):

Feb 17 2023, 8:32 AM · Restricted Project, Restricted Project, Restricted Project

Feb 15 2023

awarzynski added inline comments to D143925: [mlir] Make the vast majority of integration and runner tests work on Windows.
Feb 15 2023, 5:47 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski committed rG71712440bbb2: [mlir] Add vectorize_nd_extract attribute to the masked_vectorize Op (authored by awarzynski).
[mlir] Add vectorize_nd_extract attribute to the masked_vectorize Op
Feb 15 2023, 12:48 AM · Restricted Project, Restricted Project
awarzynski closed D142634: [mlir] Add vectorize_nd_extract attribute to masked_vectorize.
Feb 15 2023, 12:47 AM · Restricted Project, Restricted Project

Feb 14 2023

awarzynski added a comment to D143301: [flang] Handle unsupported warning flags.

Thanks for the update! One thing that's not clear to me - how come "-Wextra" is not treated as an error and "-Wblah" is? That's not clear from the code.

Feb 14 2023, 12:24 PM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D143301: [flang] Handle unsupported warning flags.

Thanks for the feedback everyone. This is my current understanding on what I should do: I am to rename gfortran_unsupported_Group to flang_ignored_w_Group and move the non W group gfortran options into another patch. I have these changes locally and am currently building + testing. Please let me know if I'm misinterpreting these instructions.

Feb 14 2023, 11:33 AM · Restricted Project, Restricted Project, Restricted Project
awarzynski added a comment to D143301: [flang] Handle unsupported warning flags.

I think the -W stuff can go in, it has tests and is reasonable.

I'd like for us to rely on a flag from Options.td for this instead. Something similar to clang_ignored_f_Group. I would probably call it flang_ignored_w_Group :)

For the -W stuff? You want to remove the explicit warning then (which is generally fine too)?

Feb 14 2023, 11:31 AM · Restricted Project, Restricted Project, Restricted Project