Page MenuHomePhabricator

tpopp (Theodore Popp)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 3 2020, 4:17 AM (168 w, 2 d)

Recent Activity

Wed, Mar 15

tpopp updated the diff for D146151: [mlir][Affine] Use stable sorting to prevent non-determinism.

Pass container instead of begin/end to sort

Wed, Mar 15, 9:17 AM · Restricted Project, Restricted Project
tpopp requested review of D146151: [mlir][Affine] Use stable sorting to prevent non-determinism.
Wed, Mar 15, 9:12 AM · Restricted Project, Restricted Project

Feb 23 2023

tpopp accepted D144631: [MLIR][Vector] Add a dependency on `:DataLayoutInterfaces`.
Feb 23 2023, 3:10 AM · Restricted Project, Restricted Project

Dec 12 2022

tpopp added a comment to D139843: Add a pass to dump a given operation.

And this is a more fine grained version of mlir-print-ir-after ? What is missing there? Triggering only particular pipeline, particular part of pipeline?

Dec 12 2022, 8:52 AM · Restricted Project, Restricted Project
tpopp updated the diff for D139843: Add a pass to dump a given operation.

NFC: cleanup some ugliness

Dec 12 2022, 7:37 AM · Restricted Project, Restricted Project
tpopp added a comment to D139843: Add a pass to dump a given operation.

I often add a simple dump command inside of a pass at the beginning or end when I'm quickly trying to gather some data and don't want to dump everything. I considered making a tiny rfc regarding this to see if others prefer another way, but want to at least first run it by a couple of folks. I'm sure there's several ways to do the same thing, but this would be my preferred way of debugging a pipeline not presented in a test using opt and before my morning coffee.

Dec 12 2022, 7:31 AM · Restricted Project, Restricted Project
tpopp requested review of D139843: Add a pass to dump a given operation.
Dec 12 2022, 7:29 AM · Restricted Project, Restricted Project

Dec 9 2022

tpopp accepted D139698: [mlir] Clean up typos in FileCheck directives in various tests..
Dec 9 2022, 2:06 AM · Restricted Project, Restricted Project

Nov 24 2022

tpopp added a comment to D138647: [mlir][cf] Print message in cf.assert to LLVM lowering.

I'm leaving a few high level comments first. I think this abortOnFailedAssert=false case should be handled by a separate test pass instead.

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

Nov 21 2022

tpopp accepted D138400: [MLIR] Hide FailureOr::hasValue().
Nov 21 2022, 4:14 AM · Restricted Project, Restricted Project

Nov 14 2022

tpopp added inline comments to D137709: [mlir][SCF] Adding custom builder to SCF::WhileOp..
Nov 14 2022, 11:10 AM · Restricted Project, Restricted Project
tpopp added a comment to D137709: [mlir][SCF] Adding custom builder to SCF::WhileOp..

It looks like you will also need to run clang-format on this. I use git clang-format --style=LLVM HEAD to format my patches before landing (then you can use arc diff to upload the final patch this time and I can submit it on your behalf).

Nov 14 2022, 6:11 AM · Restricted Project, Restricted Project
tpopp accepted D137709: [mlir][SCF] Adding custom builder to SCF::WhileOp..
Nov 14 2022, 6:08 AM · Restricted Project, Restricted Project

Nov 10 2022

tpopp added a comment to D136727: [mlir] Remove support for non-prefixed accessors.

Do you think we could wait until after the LLVM Dev meeting MLIR Summit to land this? We're kind of scrambling around these days and still working on preparing for this to land.

Yeah, that's fine.

Nov 10 2022, 6:43 PM · Restricted Project, Restricted Project, Restricted Project
tpopp added inline comments to D137709: [mlir][SCF] Adding custom builder to SCF::WhileOp..
Nov 10 2022, 6:35 PM · Restricted Project, Restricted Project
tpopp added a reviewer for D137709: [mlir][SCF] Adding custom builder to SCF::WhileOp.: ftynse.
Nov 10 2022, 6:24 PM · Restricted Project, Restricted Project

Oct 31 2022

tpopp added a comment to D136727: [mlir] Remove support for non-prefixed accessors.

Are you still going to wait until early November, or are you going to commit it this week?

I'll wait until early November (like in the post), just sent this out to prepare for that.

Oct 31 2022, 4:26 PM · Restricted Project, Restricted Project, Restricted Project

Oct 26 2022

tpopp added a comment to D136727: [mlir] Remove support for non-prefixed accessors.

Are you still going to wait until early November, or are you going to commit it this week?

Oct 26 2022, 1:19 AM · Restricted Project, Restricted Project, Restricted Project

Oct 24 2022

tpopp accepted D136597: build.bazel: Add missing dep to SparseTensorPipelines..
Oct 24 2022, 7:16 AM · Restricted Project, Restricted Project

Oct 21 2022

tpopp added a comment to D126305: [mlir][arith] Initial support for fastmath flag attributes in the Arithmetic dialect (v2).

It seems weird to add a dependency on the Arith Dialect here.

This is a good point - let me see if I can avoid that...

Oct 21 2022, 6:59 AM · Restricted Project, Restricted Project

Oct 20 2022

tpopp added inline comments to D126305: [mlir][arith] Initial support for fastmath flag attributes in the Arithmetic dialect (v2).
Oct 20 2022, 6:45 AM · Restricted Project, Restricted Project

Oct 4 2022

tpopp accepted D135135: [mlir][Tensor] NFC - Add result pretty printing to TensorOps.
Oct 4 2022, 2:29 AM · Restricted Project, Restricted Project

Sep 29 2022

tpopp added inline comments to D134762: [mlir][arith] Change dialect name from Arithmetic to Arith.
Sep 29 2022, 12:39 AM · Restricted Project, Restricted Project

Sep 13 2022

tpopp requested review of D133761: [mlir] Decrease stack allocations in Presburger's Matrix.
Sep 13 2022, 1:24 AM · Restricted Project, Restricted Project

Sep 5 2022

tpopp accepted D133288: [mlir][bufferize] Add new debug flag: copy-before-write.
Sep 5 2022, 5:31 AM · Restricted Project, Restricted Project
tpopp added a comment to D133288: [mlir][bufferize] Add new debug flag: copy-before-write.

Awesome! You use copyBeforeWrite and skipAnalysis. I think it would be better to use the same name consistently, like the other options/flags, unless skip-analysis is expected to grow to modifying multiple option values(?)

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

Sep 1 2022

tpopp accepted D133101: [mlir][Linalg] Add missing support for memory space to DropUnitDims.
Sep 1 2022, 4:09 AM · Restricted Project, Restricted Project

Aug 31 2022

tpopp added a comment to D132728: [mlir] Allow passing AsmState when printing Attributes and Types.

Drive by warning. If this patch is depending on a non-landed commit, this comment might be wrong. It looks like one python binding test case will fail with this patch:

Aug 31 2022, 2:55 AM · Restricted Project, Restricted Project

Aug 29 2022

tpopp abandoned D132875: Fix bazel pre-merge check.

Unfortunately, it looks like the version of clang on the pre-merge bazel build bot is too old, or similar, so I am abandoning this attempted workaround.

Aug 29 2022, 11:20 PM · Restricted Project, Restricted Project
tpopp updated the diff for D132875: Fix bazel pre-merge check.

Move fuse-ld to ci

Aug 29 2022, 12:28 PM · Restricted Project, Restricted Project
tpopp added reviewers for D132875: Fix bazel pre-merge check: GMNGeoffrey, aeubanks.
Aug 29 2022, 12:16 PM · Restricted Project, Restricted Project
tpopp updated the diff for D132875: Fix bazel pre-merge check.

Move flag from generic_clang to ci until pre-merge is fixed

Aug 29 2022, 12:15 PM · Restricted Project, Restricted Project
tpopp updated the diff for D132875: Fix bazel pre-merge check.

Remove overlooked line.

Aug 29 2022, 12:02 PM · Restricted Project, Restricted Project
tpopp abandoned D132871: Try adding rbe flag and removing lld requirement.
Aug 29 2022, 11:57 AM · Restricted Project, Restricted Project
tpopp updated the diff for D132875: Fix bazel pre-merge check.

linkopt can't be overriden with empty strings, so workaround differently.

Aug 29 2022, 11:52 AM · Restricted Project, Restricted Project
tpopp requested review of D132875: Fix bazel pre-merge check.
Aug 29 2022, 11:10 AM · Restricted Project, Restricted Project
tpopp updated the diff for D132871: Try adding rbe flag and removing lld requirement.

Fix flipped names

Aug 29 2022, 10:56 AM · Restricted Project, Restricted Project
tpopp requested review of D132871: Try adding rbe flag and removing lld requirement.
Aug 29 2022, 10:54 AM · Restricted Project, Restricted Project

Aug 25 2022

tpopp added inline comments to D132466: [mlir] Delete MemRefType::setMemorySpace(unsigned).
Aug 25 2022, 4:58 AM · Restricted Project, Restricted Project
tpopp updated the diff for D132466: [mlir] Delete MemRefType::setMemorySpace(unsigned).

Remove definition of method after only declaration was previously removed.

Aug 25 2022, 4:58 AM · Restricted Project, Restricted Project
tpopp added inline comments to D132375: [mlir] Add math.roundeven and llvm.intr.roundeven.
Aug 25 2022, 4:28 AM · Restricted Project, Restricted Project

Aug 23 2022

tpopp updated the summary of D132466: [mlir] Delete MemRefType::setMemorySpace(unsigned).
Aug 23 2022, 6:00 AM · Restricted Project, Restricted Project
tpopp requested review of D132466: [mlir] Delete MemRefType::setMemorySpace(unsigned).
Aug 23 2022, 5:50 AM · Restricted Project, Restricted Project
tpopp added inline comments to D132355: [mlir][tensor][bufferize] Bufferize tensor.pad.
Aug 23 2022, 3:49 AM · Restricted Project, Restricted Project

Aug 22 2022

tpopp accepted D132355: [mlir][tensor][bufferize] Bufferize tensor.pad.

Nice!

Aug 22 2022, 7:34 AM · Restricted Project, Restricted Project
tpopp requested review of D132375: [mlir] Add math.roundeven and llvm.intr.roundeven.
Aug 22 2022, 6:50 AM · Restricted Project, Restricted Project

Aug 18 2022

tpopp added a comment to D132038: [mlir][LLVMIR] Change ShuffleVectorOp to use assembly format.

Drive by nit... The important parts to me in regards to this change are:

  1. The change to the assembly format
  2. The change in types that break C++ code interacting with this class
Aug 18 2022, 10:07 AM · Restricted Project, Restricted Project

Aug 10 2022

tpopp resigned from D131237: [mlir][Linalg] Canonicalize decomposed ops by default..

I'm resigning as reviewer as I just wanted to voice my concerns regarding populate methods creating global effects. I wish more tests used the canonicalizer just to ease the mess that some FileCheck tests are, and I think targeted canonicalizations can make sense.

Aug 10 2022, 2:58 AM · Restricted Project, Restricted Project

Aug 8 2022

tpopp added a comment to D131237: [mlir][Linalg] Canonicalize decomposed ops by default..

I did add the canonicalization patterns to a downstream and have observed that they do "help" a lot of real cases I was seeing get to a fully decomposed state.

Aug 8 2022, 7:51 AM · Restricted Project, Restricted Project

Aug 5 2022

tpopp requested changes to D131237: [mlir][Linalg] Canonicalize decomposed ops by default..

This creates a situation where unrelated linalg::generic ops can be canonicalized as a side effect. This has happened multiple times in linalg infrastructure and is always confusing to a user when the populated patterns are actually doing much more than they claim to do because of these global canonicalizations. I can understand the benefits of this when only applied to the newly created ops, but as is this creates confusion.

Aug 5 2022, 5:15 AM · Restricted Project, Restricted Project

Aug 4 2022

tpopp updated the diff for D130971: [mlir] Only conditionally lower CF branching ops to LLVM.

Respond to style fixes and improve the unrealized_conversion_cast conditional.

Aug 4 2022, 6:53 AM · Restricted Project, Restricted Project

Aug 2 2022

tpopp requested review of D130971: [mlir] Only conditionally lower CF branching ops to LLVM.
Aug 2 2022, 1:32 AM · Restricted Project, Restricted Project

Aug 1 2022

tpopp added a comment to D130772: Remove empty AffineExpr stride canonicalization in makeCanonicalStridedLayoutExpr.

I'm going to land this as I suspect there are no strong feelings over this change and there was a lack of failing tests to show people might rely on this, but if anyone has concerns, please feel free to revert and raise your concerns, as this commit was not in review for long. For any abstract concerns though, please keep in mind that the existing code failed in multiple situations, and only worked in limited code paths.

Aug 1 2022, 2:10 AM · Restricted Project, Restricted Project

Jul 29 2022

tpopp requested review of D130772: Remove empty AffineExpr stride canonicalization in makeCanonicalStridedLayoutExpr.
Jul 29 2022, 6:32 AM · Restricted Project, Restricted Project

Jun 1 2022

tpopp accepted D126765: Fix bazel build after 59b273a166b9d1165015b5cf10c21641cc01d682..
Jun 1 2022, 3:10 AM · Restricted Project, Restricted Project

May 23 2022

tpopp abandoned D123027: [mlir] Support tensor.pad bufferization.
May 23 2022, 7:12 AM · Restricted Project, Restricted Project
tpopp accepted D125636: [mlir][bufferize] Support fully dynamic layout maps in BufferResultsToOutParams.
May 23 2022, 3:43 AM · Restricted Project, Restricted Project

May 20 2022

tpopp accepted D125637: [mlir][bufferize][NFC] Update One-Shot Bufferize pass documentation.
May 20 2022, 3:19 AM · Restricted Project, Restricted Project

May 12 2022

tpopp added a comment to D123027: [mlir] Support tensor.pad bufferization.

Sorry to delay on this for so long. I am proposing, instead, a TensorToLinalgPass here: https://reviews.llvm.org/D125384

May 12 2022, 1:19 AM · Restricted Project, Restricted Project

May 11 2022

tpopp accepted D125376: [mlir][bufferize] Support alloc hoisting across function boundaries.
May 11 2022, 7:23 AM · Restricted Project, Restricted Project
tpopp accepted D125375: [mlir][bufferize][NFC] Move helper functions to BufferizationOptions.
May 11 2022, 6:55 AM · Restricted Project, Restricted Project
tpopp requested review of D125384: [mlir] Add TensorToLinalgPass.
May 11 2022, 6:40 AM · Restricted Project, Restricted Project

May 9 2022

tpopp accepted D125093: [mlir][math] Promote (b)f16 to f32 when lowering to libm calls.
May 9 2022, 1:19 AM · Restricted Project, Restricted Project

May 4 2022

tpopp added a comment to D124649: [AsmParser] Introduce a new "Argument" abstraction + supporting logic.

Hello, why were parseOptionalAssignmentListWithTypesand parseAssignmentListWithTypes removed?

This was simply dead code in the tree. I'm sorry I didn't realize other people were using it, I didn't mean to break anyone intentionally. There is a simple replacement with parseArgument and parse comma separated list, though we could add back if it would help with your internal build and integration for awhile.

-Chris

May 4 2022, 7:00 AM · Restricted Project, Restricted Project, Restricted Project

May 2 2022

tpopp added a comment to D124649: [AsmParser] Introduce a new "Argument" abstraction + supporting logic.

Hello, why were parseOptionalAssignmentListWithTypesand parseAssignmentListWithTypes removed? This seems to be a common pattern in MLIR where functionality is provided but untested and unused inside of core and then freely removed while breaking users. If this is the intended progression of the API, a deprecation would be appreciated, so people can raise concerns that used functionality is being deleted. If this being freely removed because users of the code outside of the LLVM repository don't impact this decision, it really indicates that MLIR core needs to start providing some form of a stable API that people can rely on rather than the current (small) chaos caused by many changes.

May 2 2022, 12:24 AM · Restricted Project, Restricted Project, Restricted Project

Apr 4 2022

tpopp requested review of D123027: [mlir] Support tensor.pad bufferization.
Apr 4 2022, 6:07 AM · Restricted Project, Restricted Project

Mar 30 2022

tpopp accepted D122649: [mlir][tensor] Fix bufferization of CollapseShapeOp / ExpandShapeOp.
Mar 30 2022, 1:26 AM · Restricted Project, Restricted Project

Mar 8 2022

tpopp added inline comments to D121189: [mlir][NFC] Update the Builtin dialect to use "Both" accessors.
Mar 8 2022, 11:28 PM · Restricted Project, Restricted Project, Restricted Project
tpopp added inline comments to D121189: [mlir][NFC] Update the Builtin dialect to use "Both" accessors.
Mar 8 2022, 6:49 AM · Restricted Project, Restricted Project, Restricted Project

Feb 18 2022

tpopp added a comment to D120021: Rename PatternRewriteSet::insert to add.

Landing now instead as it is low risk, and I mainly wanted to confirm with River.

Feb 18 2022, 3:19 AM · Restricted Project
tpopp added a comment to D120021: Rename PatternRewriteSet::insert to add.

I'll leave this until Monday to submit in case the comment in code that insert is soft deprecated is out of date.

Feb 18 2022, 12:21 AM · Restricted Project

Feb 17 2022

tpopp updated the diff for D120020: [mlir] Propagate NaNs in PolynomialApproximation.

Update test cases

Feb 17 2022, 1:42 AM · Restricted Project
tpopp requested review of D120021: Rename PatternRewriteSet::insert to add.
Feb 17 2022, 1:28 AM · Restricted Project
tpopp requested review of D120020: [mlir] Propagate NaNs in PolynomialApproximation.
Feb 17 2022, 1:23 AM · Restricted Project

Feb 10 2022

tpopp added a comment to D119402: [MLIR] Fix fold-memref-subview-ops for affine.load/store.

Clang documentation for ASAN, as I feel like everyone has different flows for using it: https://clang.llvm.org/docs/AddressSanitizer.html

Feb 10 2022, 1:51 AM · Restricted Project
tpopp added a comment to D119402: [MLIR] Fix fold-memref-subview-ops for affine.load/store.

I am reverting this change as it has a stack-use-after-scope error. I suspect this is due to the call to expandAffineMap returning a SmallVector which is then referenced with the ValueRange indices inside of the if block and then used outside.

Feb 10 2022, 1:48 AM · Restricted Project

Feb 8 2022

tpopp added a comment to D119065: [mlir][NFC] Remove deprecated/old build/fold/parser utilities from OpDefinition.

Hi, I added a fix forward for this change, as a rollback was hard due to another change, but it would be ideal to confirm that it is okay, as I'm not sure exactly what you were going for: https://github.com/llvm/llvm-project/commit/64b918852c09db6461d4c4c97df288c7b7fee865

Feb 8 2022, 2:22 AM · Restricted Project, Restricted Project

Dec 15 2021

tpopp requested review of D115789: [mlir] Use rewriter in linalg Detensorize.
Dec 15 2021, 2:09 AM · Restricted Project

Nov 24 2021

tpopp added a comment to D114358: Don't store nullptrs in mlir::FuncOp::getAllArgAttrs' result.

Was the patch updated?

Nov 24 2021, 1:55 AM · Restricted Project
tpopp updated the diff for D114358: Don't store nullptrs in mlir::FuncOp::getAllArgAttrs' result.

Store empty attributes instead of nullptrs.

Nov 24 2021, 1:53 AM · Restricted Project

Nov 23 2021

tpopp added inline comments to D114358: Don't store nullptrs in mlir::FuncOp::getAllArgAttrs' result.
Nov 23 2021, 12:02 AM · Restricted Project

Nov 22 2021

tpopp requested review of D114358: Don't store nullptrs in mlir::FuncOp::getAllArgAttrs' result.
Nov 22 2021, 3:57 AM · Restricted Project
tpopp added inline comments to D114065: [Bazel] Set the right default for LLVM_WINDOWS_PREFER_FORWARD_SLASH on Windows.
Nov 22 2021, 1:56 AM · Restricted Project
tpopp requested review of D114352: Rename MlirExecutionEngine lookup to lookupPacked.
Nov 22 2021, 1:53 AM · Restricted Project

Nov 2 2021

tpopp added a comment to D87202: Add new choices dot-cfg and dot-cfg-quiet to print-changed which creates a website of DOT files showing colourized changes as the IR is changed by passes in the new pass manager pipeline..

Hi @tpopp, can you please explain to me the nature of these failures? The code changed here is only active under options that are not being used in those tests so I expect that the errors are unrelated. I have not received any notifications from the build-bots of a problem so far. I am also unclear as to why there are build issues on those other platforms. Are you asking me to revert this?

Nov 2 2021, 10:28 AM · Restricted Project
tpopp added a comment to D87202: Add new choices dot-cfg and dot-cfg-quiet to print-changed which creates a website of DOT files showing colourized changes as the IR is changed by passes in the new pass manager pipeline..

Hi Jamie, this code has test failures: https://reviews.llvm.org/B131761

Nov 2 2021, 10:00 AM · Restricted Project

Oct 1 2021

tpopp accepted D110919: [mlir] Enable loop peeling for "reduction" dimensions of tiled_loop..
Oct 1 2021, 4:07 AM · Restricted Project

Sep 6 2021

tpopp accepted D109247: [mlir][linalg] Fix `FoldInitTensorWithDimOp` if dim(init_tensor) is static..
Sep 6 2021, 1:37 AM · Restricted Project

Sep 3 2021

tpopp accepted D109230: [mlir][linalg] Extend tiled_loop to SCF conversion to generate scf.parallel..
Sep 3 2021, 8:52 AM · Restricted Project
tpopp added a comment to D108270: [mlir][linalg] linalg.tiled_loop peeling.

Drive by comment

Sep 3 2021, 8:44 AM · Restricted Project
tpopp added inline comments to D109230: [mlir][linalg] Extend tiled_loop to SCF conversion to generate scf.parallel..
Sep 3 2021, 8:25 AM · Restricted Project

Sep 2 2021

tpopp accepted D109140: [mlir][linalg] Expose function to create op on buffers during bufferization..
Sep 2 2021, 2:01 AM · Restricted Project

Aug 25 2021

tpopp updated the diff for D108205: [mlir] Prevent assertion failure in DropUnitDims.

Move the unsupported logic to the caller.

Aug 25 2021, 8:49 AM · Restricted Project
tpopp added inline comments to D108205: [mlir] Prevent assertion failure in DropUnitDims.
Aug 25 2021, 8:49 AM · Restricted Project
tpopp abandoned D108561: [mlir] Handle null attributes on TiledLoopOp creation..

I've been somewhat convinced that this could lead to subtle bugs in the future, so we should leave it to the callers to handle this issue each time they want to build this op during dialect conversion, so I'm going to abandon this.

Aug 25 2021, 7:34 AM · Restricted Project
tpopp updated the diff for D108570: [mlir] Add assertions to prevent adding null attributes.

Move assertions to NamedAttrList::push_back

Aug 25 2021, 2:06 AM · Restricted Project

Aug 24 2021

tpopp updated the diff for D108570: [mlir] Add assertions to prevent adding null attributes.

Move the assertion logic to NamedAttrList.

Aug 24 2021, 6:31 AM · Restricted Project
tpopp added inline comments to D108570: [mlir] Add assertions to prevent adding null attributes.
Aug 24 2021, 6:30 AM · Restricted Project
tpopp added inline comments to D108561: [mlir] Handle null attributes on TiledLoopOp creation..
Aug 24 2021, 6:00 AM · Restricted Project

Aug 23 2021

tpopp requested review of D108570: [mlir] Add assertions to prevent adding null attributes.
Aug 23 2021, 11:26 AM · Restricted Project