[llvm-branch-commits] [llvm-branch] r292760 - LLVM 4.0: Merge r292641 "[ThinLTO] Fix lazy-loading of MDString instruction attachments"

2017-01-22 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Sun Jan 22 13:37:24 2017 New Revision: 292760 URL: http://llvm.org/viewvc/llvm-project?rev=292760=rev Log: LLVM 4.0: Merge r292641 "[ThinLTO] Fix lazy-loading of MDString instruction attachments" Modified: llvm/branches/release_40/ (props changed)

[llvm-branch-commits] [llvm-branch] r292732 - LLVM 4.0: cherry-pick r292711 Add missing dependency to "Module Summary Analysis" pass

2017-01-21 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Sat Jan 21 16:09:27 2017 New Revision: 292732 URL: http://llvm.org/viewvc/llvm-project?rev=292732=rev Log: LLVM 4.0: cherry-pick r292711 Add missing dependency to "Module Summary Analysis" pass Modified: llvm/branches/release_40/ (props changed)

[llvm-branch-commits] [llvm-branch] r292731 - LLVM 4.0: cherry-pick r292667 [ThinLTO] The "codegen only" path didn't honor the recently added file-based API

2017-01-21 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Sat Jan 21 16:08:38 2017 New Revision: 292731 URL: http://llvm.org/viewvc/llvm-project?rev=292731=rev Log: LLVM 4.0: cherry-pick r292667 [ThinLTO] The "codegen only" path didn't honor the recently added file-based API Modified: llvm/branches/release_40/ (props

[llvm-branch-commits] [cfe-branch] r287784 - [LTO] Merge r287685 into the 3.9.1 branch, darwin: Unconditionally pass -lto_library, remove -Wliblto warning.

2016-11-23 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Wed Nov 23 12:00:06 2016 New Revision: 287784 URL: http://llvm.org/viewvc/llvm-project?rev=287784=rev Log: [LTO] Merge r287685 into the 3.9.1 branch, darwin: Unconditionally pass -lto_library, remove -Wliblto warning. See: https://llvm.org/bugs/PR31120 Modified:

[llvm-branch-commits] [llvm-branch] r287805 - Merge r287453 in 3.9.1 : [ThinLTO] Fix crash when importing an opaque type

2016-11-23 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Wed Nov 23 14:52:51 2016 New Revision: 287805 URL: http://llvm.org/viewvc/llvm-project?rev=287805=rev Log: Merge r287453 in 3.9.1 : [ThinLTO] Fix crash when importing an opaque type See: http://llvm.org/PR31072 Added:

[llvm-branch-commits] [cfe-branch] r287815 - Merge r275905 into 3.9 branch: Allow iOS and tvOS version numbers with 2-digit major version numbers.

2016-11-23 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Wed Nov 23 15:25:50 2016 New Revision: 287815 URL: http://llvm.org/viewvc/llvm-project?rev=287815=rev Log: Merge r275905 into 3.9 branch: Allow iOS and tvOS version numbers with 2-digit major version numbers. See: http://llvm.org/PR30555 Modified:

[llvm-branch-commits] [cfe-branch] r287579 - [LTO] Merge r285254 into 3.9.1 (Darwin clang driver always pass -lto_library)

2016-11-22 Thread Mehdi Amini via llvm-branch-commits
Author: mehdi_amini Date: Mon Nov 21 15:27:58 2016 New Revision: 287579 URL: http://llvm.org/viewvc/llvm-project?rev=287579=rev Log: [LTO] Merge r285254 into 3.9.1 (Darwin clang driver always pass -lto_library) See: https://llvm.org/PR30840 Modified:

[llvm-branch-commits] [mlir] 1107758 - Revert "[mlir][linalg] Support parsing attributes in named op spec"

2021-01-11 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-11T20:43:42Z New Revision: 110775809ad114e190132290657a86b2c292a878 URL: https://github.com/llvm/llvm-project/commit/110775809ad114e190132290657a86b2c292a878 DIFF: https://github.com/llvm/llvm-project/commit/110775809ad114e190132290657a86b2c292a878.diff LOG:

[llvm-branch-commits] [mlir] 762ffc9 - Update syntax for tensor and memref types to match parser.

2021-01-11 Thread Mehdi Amini via llvm-branch-commits
Author: Richard Uhler Date: 2021-01-11T22:57:14Z New Revision: 762ffc95550c32606e771b630fcab2e521873419 URL: https://github.com/llvm/llvm-project/commit/762ffc95550c32606e771b630fcab2e521873419 DIFF: https://github.com/llvm/llvm-project/commit/762ffc95550c32606e771b630fcab2e521873419.diff

[llvm-branch-commits] [debuginfo-tests] 476db17 - Fix include path for check-gdb-mlir-support to include the MLIR binary dir

2021-01-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-07T21:29:09Z New Revision: 476db17dcb64ef3ec6e247f4b1c673b57f61a367 URL: https://github.com/llvm/llvm-project/commit/476db17dcb64ef3ec6e247f4b1c673b57f61a367 DIFF: https://github.com/llvm/llvm-project/commit/476db17dcb64ef3ec6e247f4b1c673b57f61a367.diff LOG:

[llvm-branch-commits] [debuginfo-tests] 9e1aaa9 - Fix check-gdb-mlir-support build after MLIR API changed to take Context as first argument

2021-01-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-07T21:30:39Z New Revision: 9e1aaa9943b814c22ae03f4abb3171dac8062801 URL: https://github.com/llvm/llvm-project/commit/9e1aaa9943b814c22ae03f4abb3171dac8062801 DIFF: https://github.com/llvm/llvm-project/commit/9e1aaa9943b814c22ae03f4abb3171dac8062801.diff LOG:

[llvm-branch-commits] [mlir] 1c21594 - Use the generic form when printing from the python bindings and the verifier fails

2020-12-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-03T18:45:00Z New Revision: 1c2159494d0731d3ecf4c02651f8b14ab9eb0338 URL: https://github.com/llvm/llvm-project/commit/1c2159494d0731d3ecf4c02651f8b14ab9eb0338 DIFF: https://github.com/llvm/llvm-project/commit/1c2159494d0731d3ecf4c02651f8b14ab9eb0338.diff LOG:

[llvm-branch-commits] [mlir] e312b38 - Include Region.h in OperationSupport.h instead of forward declaring it (NFC)

2020-12-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-03T18:54:27Z New Revision: e312b388ebadcd074d559454aca1fd6e75e8e7a5 URL: https://github.com/llvm/llvm-project/commit/e312b388ebadcd074d559454aca1fd6e75e8e7a5 DIFF: https://github.com/llvm/llvm-project/commit/e312b388ebadcd074d559454aca1fd6e75e8e7a5.diff LOG:

[llvm-branch-commits] [llvm] 6cd9608 - Revert "Switch to std::is_trivially_move_constructible and std::is_trivially_copy_constructible"

2020-12-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-03T19:58:06Z New Revision: 6cd9608fb37ca2418fb44b57ec955bb5efe10689 URL: https://github.com/llvm/llvm-project/commit/6cd9608fb37ca2418fb44b57ec955bb5efe10689 DIFF: https://github.com/llvm/llvm-project/commit/6cd9608fb37ca2418fb44b57ec955bb5efe10689.diff LOG:

[llvm-branch-commits] [mlir] 5d208d5 - Revert "Include Region.h in OperationSupport.h instead of forward declaring it (NFC)"

2020-12-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-03T19:59:20Z New Revision: 5d208d505438fbd3e6d6a467e72d70d98e9136c0 URL: https://github.com/llvm/llvm-project/commit/5d208d505438fbd3e6d6a467e72d70d98e9136c0 DIFF: https://github.com/llvm/llvm-project/commit/5d208d505438fbd3e6d6a467e72d70d98e9136c0.diff LOG:

[llvm-branch-commits] [mlir] e15ae45 - Customize exception thrown from mlir.Operation.create() python bindings

2020-12-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-07T23:06:58Z New Revision: e15ae454b4b4632d4f40a9d95a5c7e4de95990cc URL: https://github.com/llvm/llvm-project/commit/e15ae454b4b4632d4f40a9d95a5c7e4de95990cc DIFF: https://github.com/llvm/llvm-project/commit/e15ae454b4b4632d4f40a9d95a5c7e4de95990cc.diff LOG:

[llvm-branch-commits] [mlir] e56f398 - Add Python binding for MLIR Type Attribute

2020-12-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-07T23:06:58Z New Revision: e56f398dd3740d97ac3b7ec1c69a12b951efd9a3 URL: https://github.com/llvm/llvm-project/commit/e56f398dd3740d97ac3b7ec1c69a12b951efd9a3 DIFF: https://github.com/llvm/llvm-project/commit/e56f398dd3740d97ac3b7ec1c69a12b951efd9a3.diff LOG:

[llvm-branch-commits] [mlir] ac6ada4 - Fix MLIR Python bindings build after changes to the C API to use StringRef (NFC)

2020-12-08 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-09T03:27:37Z New Revision: ac6ada4d3e059397d2812c8c0bd449214bc58737 URL: https://github.com/llvm/llvm-project/commit/ac6ada4d3e059397d2812c8c0bd449214bc58737 DIFF: https://github.com/llvm/llvm-project/commit/ac6ada4d3e059397d2812c8c0bd449214bc58737.diff LOG:

[llvm-branch-commits] [mlir] 2074fec - [MLIR][LLVM] Fix a tiny typo in the dialect docs.

2020-12-01 Thread Mehdi Amini via llvm-branch-commits
Author: ergawy Date: 2020-12-01T20:06:41Z New Revision: 2074fec5beb4eca9d438acd3b37c2c6d20b891b1 URL: https://github.com/llvm/llvm-project/commit/2074fec5beb4eca9d438acd3b37c2c6d20b891b1 DIFF: https://github.com/llvm/llvm-project/commit/2074fec5beb4eca9d438acd3b37c2c6d20b891b1.diff LOG:

[llvm-branch-commits] [mlir] d9da4c3 - Revert "[mlir] Add a shape function library op"

2020-11-28 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-11-29T05:28:42Z New Revision: d9da4c3e73720badfcac5c0dc63c0285bb690770 URL: https://github.com/llvm/llvm-project/commit/d9da4c3e73720badfcac5c0dc63c0285bb690770 DIFF: https://github.com/llvm/llvm-project/commit/d9da4c3e73720badfcac5c0dc63c0285bb690770.diff LOG:

[llvm-branch-commits] [mlir] ff2e228 - Don't count attributes when addressing operands.

2020-11-30 Thread Mehdi Amini via llvm-branch-commits
Author: Ray (I-Jui) Sung Date: 2020-12-01T01:21:36Z New Revision: ff2e22853f8d8145cc7c27bb11e44155a124ecec URL: https://github.com/llvm/llvm-project/commit/ff2e22853f8d8145cc7c27bb11e44155a124ecec DIFF: https://github.com/llvm/llvm-project/commit/ff2e22853f8d8145cc7c27bb11e44155a124ecec.diff

[llvm-branch-commits] [mlir] a48172c - Add brief description of dialects doc section.

2020-12-17 Thread Mehdi Amini via llvm-branch-commits
Author: Richard Uhler Date: 2020-12-17T18:37:34Z New Revision: a48172cf1c1527123a7db35a7d0d7fa84f5dc37c URL: https://github.com/llvm/llvm-project/commit/a48172cf1c1527123a7db35a7d0d7fa84f5dc37c DIFF: https://github.com/llvm/llvm-project/commit/a48172cf1c1527123a7db35a7d0d7fa84f5dc37c.diff

[llvm-branch-commits] [mlir] 9887097 - Remove unneeded header include (NFC)

2020-12-17 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-18T00:10:26Z New Revision: 9887097d802d0a585807e693727ab8836790da8d URL: https://github.com/llvm/llvm-project/commit/9887097d802d0a585807e693727ab8836790da8d DIFF: https://github.com/llvm/llvm-project/commit/9887097d802d0a585807e693727ab8836790da8d.diff LOG:

[llvm-branch-commits] [mlir] a555ca8 - Workaround around clang 5.0 bug by including SmallVector.h in LLVM.h (PR41549)

2020-12-17 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-18T00:00:36Z New Revision: a555ca8b3d67267c19db48fc2470d20daae80aeb URL: https://github.com/llvm/llvm-project/commit/a555ca8b3d67267c19db48fc2470d20daae80aeb DIFF: https://github.com/llvm/llvm-project/commit/a555ca8b3d67267c19db48fc2470d20daae80aeb.diff LOG:

[llvm-branch-commits] [mlir] aadcb26 - Store a MlirIdentifier instead of a MlirStringRef in MlirNameAttribute

2020-12-11 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-11T22:38:48Z New Revision: aadcb26ee1650de8eaddc5a141c4302691c446a1 URL: https://github.com/llvm/llvm-project/commit/aadcb26ee1650de8eaddc5a141c4302691c446a1 DIFF: https://github.com/llvm/llvm-project/commit/aadcb26ee1650de8eaddc5a141c4302691c446a1.diff LOG:

[llvm-branch-commits] [mlir] 285c0aa - Add MLIR Python binding for Array Attribute

2020-12-10 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-10T20:51:34Z New Revision: 285c0aa262c9255e6ea4efbce1418e5f5f17e9c1 URL: https://github.com/llvm/llvm-project/commit/285c0aa262c9255e6ea4efbce1418e5f5f17e9c1 DIFF: https://github.com/llvm/llvm-project/commit/285c0aa262c9255e6ea4efbce1418e5f5f17e9c1.diff LOG:

[llvm-branch-commits] [mlir] c84b53c - [mlir] Add Python binding for MLIR Dict Attribute

2020-12-12 Thread Mehdi Amini via llvm-branch-commits
Author: kweisamx Date: 2020-12-13T04:30:35Z New Revision: c84b53ca9bcddcbaa8b726be0a4d6cb684dedbd5 URL: https://github.com/llvm/llvm-project/commit/c84b53ca9bcddcbaa8b726be0a4d6cb684dedbd5 DIFF: https://github.com/llvm/llvm-project/commit/c84b53ca9bcddcbaa8b726be0a4d6cb684dedbd5.diff LOG:

[llvm-branch-commits] [mlir] c1d6de4 - [mlir][CAPI] Add the missing in Support.h

2020-12-19 Thread Mehdi Amini via llvm-branch-commits
Author: Gnimuc Date: 2020-12-20T05:01:49Z New Revision: c1d6de41a9d9fc34c3de580cfe7c287d8b48b417 URL: https://github.com/llvm/llvm-project/commit/c1d6de41a9d9fc34c3de580cfe7c287d8b48b417 DIFF: https://github.com/llvm/llvm-project/commit/c1d6de41a9d9fc34c3de580cfe7c287d8b48b417.diff LOG:

[llvm-branch-commits] [mlir] 4bd9e62 - Remove spurious MLIRLLVMConversionsIncGen dependency from LLVM Dialect (NFC)

2020-12-16 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-16T17:32:49Z New Revision: 4bd9e62422d1e3c63e01ce9f3523d5dcc59d7215 URL: https://github.com/llvm/llvm-project/commit/4bd9e62422d1e3c63e01ce9f3523d5dcc59d7215 DIFF: https://github.com/llvm/llvm-project/commit/4bd9e62422d1e3c63e01ce9f3523d5dcc59d7215.diff LOG:

[llvm-branch-commits] [mlir] c21ee1a - Improve the verifier diagnostic on dominance error

2020-12-16 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-16T22:05:17Z New Revision: c21ee1a9426710eba5923062efd0e0b0789edd47 URL: https://github.com/llvm/llvm-project/commit/c21ee1a9426710eba5923062efd0e0b0789edd47 DIFF: https://github.com/llvm/llvm-project/commit/c21ee1a9426710eba5923062efd0e0b0789edd47.diff LOG:

[llvm-branch-commits] [mlir] aece4e2 - [mlir][ArmSVE][RFC] Add an ArmSVE dialect

2020-12-14 Thread Mehdi Amini via llvm-branch-commits
Author: Javier Setoain Date: 2020-12-14T21:35:01Z New Revision: aece4e2793ccf0d63d5e677a0ace83752b30979a URL: https://github.com/llvm/llvm-project/commit/aece4e2793ccf0d63d5e677a0ace83752b30979a DIFF: https://github.com/llvm/llvm-project/commit/aece4e2793ccf0d63d5e677a0ace83752b30979a.diff

[llvm-branch-commits] [mlir] 58ce477 - Fix DRR pattern when attributes and operands are interleaved and a dag subtree appears in the rewrite

2020-12-29 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2020-12-30T00:19:38Z New Revision: 58ce477676c7bd9c6cee0c6d05f2708b4e178ff3 URL: https://github.com/llvm/llvm-project/commit/58ce477676c7bd9c6cee0c6d05f2708b4e178ff3 DIFF: https://github.com/llvm/llvm-project/commit/58ce477676c7bd9c6cee0c6d05f2708b4e178ff3.diff LOG:

[llvm-branch-commits] [mlir] 2c8f5bd - [MLIR] Make ComplexType buildable if its element type is buildable

2020-12-29 Thread Mehdi Amini via llvm-branch-commits
Author: Chris Morin Date: 2020-12-29T23:31:42Z New Revision: 2c8f5bd53945a209cd3cd851c63df3713fa0f9bd URL: https://github.com/llvm/llvm-project/commit/2c8f5bd53945a209cd3cd851c63df3713fa0f9bd DIFF: https://github.com/llvm/llvm-project/commit/2c8f5bd53945a209cd3cd851c63df3713fa0f9bd.diff LOG:

[llvm-branch-commits] [mlir] 86d68e2 - [mlir] Gen removeAttr methods with tablegen

2021-01-05 Thread Mehdi Amini via llvm-branch-commits
Author: Felipe de Azevedo Piovezan Date: 2021-01-05T18:48:09Z New Revision: 86d68e288585964546d6382ecf71dcce10d018b7 URL: https://github.com/llvm/llvm-project/commit/86d68e288585964546d6382ecf71dcce10d018b7 DIFF:

[llvm-branch-commits] [mlir] 7afd5cf - [NFC] Fix -Wrange-loop-analysis warnings.

2021-01-05 Thread Mehdi Amini via llvm-branch-commits
Author: Dan Zheng Date: 2021-01-05T18:44:17Z New Revision: 7afd5cfbc757b004cba99d234df4e76b06956b2d URL: https://github.com/llvm/llvm-project/commit/7afd5cfbc757b004cba99d234df4e76b06956b2d DIFF: https://github.com/llvm/llvm-project/commit/7afd5cfbc757b004cba99d234df4e76b06956b2d.diff LOG:

[llvm-branch-commits] [mlir] 4ae7952 - [mlir] Fix MathJax rendering in Affine doc

2021-01-05 Thread Mehdi Amini via llvm-branch-commits
Author: lewuathe Date: 2021-01-06T02:11:36Z New Revision: 4ae7952e2b3566d373c55c8e9740051ca37ed738 URL: https://github.com/llvm/llvm-project/commit/4ae7952e2b3566d373c55c8e9740051ca37ed738 DIFF: https://github.com/llvm/llvm-project/commit/4ae7952e2b3566d373c55c8e9740051ca37ed738.diff LOG:

[llvm-branch-commits] [mlir] f02e61a - Fix MLIR DRR matching when attributes are interleaved with operands

2021-01-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-08T03:18:26Z New Revision: f02e61a8b957871292e092aa440964c0f4e2bb21 URL: https://github.com/llvm/llvm-project/commit/f02e61a8b957871292e092aa440964c0f4e2bb21 DIFF: https://github.com/llvm/llvm-project/commit/f02e61a8b957871292e092aa440964c0f4e2bb21.diff LOG:

[llvm-branch-commits] [mlir] 03d2493 - [mlir] Enhance mlir-opt show-dialects test case

2021-01-09 Thread Mehdi Amini via llvm-branch-commits
Author: Lewuathe Date: 2021-01-09T20:43:51Z New Revision: 03d249396d6b736447d529915e77dfeb84f2eeae URL: https://github.com/llvm/llvm-project/commit/03d249396d6b736447d529915e77dfeb84f2eeae DIFF: https://github.com/llvm/llvm-project/commit/03d249396d6b736447d529915e77dfeb84f2eeae.diff LOG:

[llvm-branch-commits] [mlir] 8a7ff73 - [mlir] Make MLIRContext::getOrLoadDialect(StringRef, TypeID, ...) public

2021-01-20 Thread Mehdi Amini via llvm-branch-commits
Author: mfehr Date: 2021-01-21T00:29:58Z New Revision: 8a7ff7301a6ce50f2adf52959c04f37a00c5a631 URL: https://github.com/llvm/llvm-project/commit/8a7ff7301a6ce50f2adf52959c04f37a00c5a631 DIFF: https://github.com/llvm/llvm-project/commit/8a7ff7301a6ce50f2adf52959c04f37a00c5a631.diff LOG: [mlir]

[llvm-branch-commits] [mlir] 922b26c - Add Python bindings for the builtin dialect

2021-01-21 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-21T22:44:44Z New Revision: 922b26cde4d1c89a5fa90e6a1d6d97d0f8eace6d URL: https://github.com/llvm/llvm-project/commit/922b26cde4d1c89a5fa90e6a1d6d97d0f8eace6d DIFF: https://github.com/llvm/llvm-project/commit/922b26cde4d1c89a5fa90e6a1d6d97d0f8eace6d.diff LOG:

[llvm-branch-commits] [mlir] 1bf2b16 - Implement constant folding for DivFOp

2021-01-19 Thread Mehdi Amini via llvm-branch-commits
Author: Jackson Fellows Date: 2021-01-19T23:08:06Z New Revision: 1bf2b1665b43e1a5090177486c8fa6374a4596a2 URL: https://github.com/llvm/llvm-project/commit/1bf2b1665b43e1a5090177486c8fa6374a4596a2 DIFF: https://github.com/llvm/llvm-project/commit/1bf2b1665b43e1a5090177486c8fa6374a4596a2.diff

[llvm-branch-commits] [mlir] d8113cd - Add newline to terminate debug message (NFC)

2021-01-14 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-14T19:29:18Z New Revision: d8113cda782b56477d71321027c50389f05f5d31 URL: https://github.com/llvm/llvm-project/commit/d8113cda782b56477d71321027c50389f05f5d31 DIFF: https://github.com/llvm/llvm-project/commit/d8113cda782b56477d71321027c50389f05f5d31.diff LOG:

[llvm-branch-commits] [mlir] 7dadcd0 - Fix a few GCC compiler warnings (NFC)

2021-01-18 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-19T06:00:04Z New Revision: 7dadcd02d6ce0278723c87736f6278610da0ddb2 URL: https://github.com/llvm/llvm-project/commit/7dadcd02d6ce0278723c87736f6278610da0ddb2 DIFF: https://github.com/llvm/llvm-project/commit/7dadcd02d6ce0278723c87736f6278610da0ddb2.diff LOG:

[llvm-branch-commits] [mlir] 41e31ea - Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC)

2021-01-07 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2021-01-07T17:44:42Z New Revision: 41e31eac14c239970a220f81de5fdd3b231b5184 URL: https://github.com/llvm/llvm-project/commit/41e31eac14c239970a220f81de5fdd3b231b5184 DIFF: https://github.com/llvm/llvm-project/commit/41e31eac14c239970a220f81de5fdd3b231b5184.diff LOG:

[llvm-branch-commits] [mlir] Backport into 17.x : [mlir][nfc] Allow ops to have operands/attributes named `context`. (PR #65281)

2023-09-04 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph review_requested https://github.com/llvm/llvm-project/pull/65281 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] Backport into 17.x : [mlir][nfc] Allow ops to have operands/attributes named `context`. (PR #65281)

2023-09-04 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph created https://github.com/llvm/llvm-project/pull/65281: This is important to back port because it'll help adopting MLIR "properties" which became the default in LLVM 18 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D159185 >From

[llvm-branch-commits] [mlir] 183f509 - use cached TM

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2023-11-03T13:26:56-07:00 New Revision: 183f5094ff7da09beed46f760a857af449a24245 URL: https://github.com/llvm/llvm-project/commit/183f5094ff7da09beed46f760a857af449a24245 DIFF: https://github.com/llvm/llvm-project/commit/183f5094ff7da09beed46f760a857af449a24245.diff

[llvm-branch-commits] [llvm] [clang] [mlir] Refactor ModuleToObject to offer more flexibility to subclass (NFC) (PR #71165)

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/71165 >From 183f5094ff7da09beed46f760a857af449a24245 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 3 Nov 2023 13:26:56 -0700 Subject: [PATCH] use cached TM Created using spr 1.3.4 ---

[llvm-branch-commits] [llvm] 6542aad - [혀헽헿] initial version

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Florian Hahn Date: 2023-11-03T13:31:37-07:00 New Revision: 6542aad3fd2f8a158f6c2180b44c875144670dec URL: https://github.com/llvm/llvm-project/commit/6542aad3fd2f8a158f6c2180b44c875144670dec DIFF: https://github.com/llvm/llvm-project/commit/6542aad3fd2f8a158f6c2180b44c875144670dec.diff

[llvm-branch-commits] [clang] [clang-tools-extra] [llvm] [flang] [lldb] [mlir] [libcxx] [compiler-rt] [libcxxabi] [lld] Refactor ModuleToObject to offer more flexibility to subclass (NFC) (PR #71165)

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/71165 >From 183f5094ff7da09beed46f760a857af449a24245 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 3 Nov 2023 13:26:56 -0700 Subject: [PATCH] use cached TM Created using spr 1.3.4 ---

[llvm-branch-commits] [llvm] 0267760 - [혀헽헿] initial version

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2023-11-03T03:07:34-07:00 New Revision: 0267760d2726671d76bb8d3adfe0b981288b3fb6 URL: https://github.com/llvm/llvm-project/commit/0267760d2726671d76bb8d3adfe0b981288b3fb6 DIFF: https://github.com/llvm/llvm-project/commit/0267760d2726671d76bb8d3adfe0b981288b3fb6.diff

[llvm-branch-commits] [llvm] [mlir] Refactor ModuleToObject to offer more flexibility to subclass (NFC) (PR #71165)

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph created https://github.com/llvm/llvm-project/pull/71165 Some specific implementation of the offload may want more customization, and even avoid using LLVM in-tree to dispatch the ISA translation to a custom solution. This refactoring makes it possible for such

[llvm-branch-commits] [llvm] f013914 - [혀헽헿] initial version

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2023-11-03T03:07:29-07:00 New Revision: f013914def456db56fe6aeacacafb200cc11fe0e URL: https://github.com/llvm/llvm-project/commit/f013914def456db56fe6aeacacafb200cc11fe0e DIFF: https://github.com/llvm/llvm-project/commit/f013914def456db56fe6aeacacafb200cc11fe0e.diff

[llvm-branch-commits] [mlir] [clang] [llvm] Refactor ModuleToObject to offer more flexibility to subclass (NFC) (PR #71165)

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/71165 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] 3289ecf - [혀헽헿] changes introduced through rebase

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2023-11-03T03:23:43-07:00 New Revision: 3289ecff8e8f5022cb6a40777392c98f1bcf5780 URL: https://github.com/llvm/llvm-project/commit/3289ecff8e8f5022cb6a40777392c98f1bcf5780 DIFF: https://github.com/llvm/llvm-project/commit/3289ecff8e8f5022cb6a40777392c98f1bcf5780.diff

[llvm-branch-commits] [clang] b7e4dc7 - rebase

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
Author: Mehdi Amini Date: 2023-11-03T03:23:50-07:00 New Revision: b7e4dc73442b986e8effe80afdd7bb409d0a367b URL: https://github.com/llvm/llvm-project/commit/b7e4dc73442b986e8effe80afdd7bb409d0a367b DIFF: https://github.com/llvm/llvm-project/commit/b7e4dc73442b986e8effe80afdd7bb409d0a367b.diff

[llvm-branch-commits] [clang] [mlir] [llvm] Refactor ModuleToObject to offer more flexibility to subclass (NFC) (PR #71165)

2023-11-03 Thread Mehdi Amini via llvm-branch-commits
@@ -39,32 +39,32 @@ ModuleToObject::ModuleToObject(Operation , StringRef triple, : module(module), triple(triple), chip(chip), features(features), optLevel(optLevel) {} +ModuleToObject::~ModuleToObject() = default; + Operation ::getOperation() { return module; }

[llvm-branch-commits] [mlir] [mlir][Transforms] Support `moveOpBefore`/`After` in dialect conversion (PR #81240)

2024-02-12 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/81240 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] release/18.x: [mlir] Skip invalid test on big endian platform (s390x) (#80246) (PR #81373)

2024-02-10 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/81373 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Modularize block actions (PR #81237)

2024-02-12 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/81237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite { : OperationRewrite(Kind::ModifyOperation, rewriterImpl, op), loc(op->getLoc()), attrs(op->getAttrDictionary()), operands(op->operand_begin(), op->operand_end()), -

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph edited https://github.com/llvm/llvm-project/pull/82474 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite { : OperationRewrite(Kind::ModifyOperation, rewriterImpl, op), loc(op->getLoc()), attrs(op->getAttrDictionary()), operands(op->operand_begin(), op->operand_end()), -

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
@@ -1016,13 +1035,20 @@ class ModifyOperationRewrite : public OperationRewrite { op->setOperands(operands); for (const auto : llvm::enumerate(successors)) op->setSuccessor(it.value(), it.index()); +if (propertiesStorage) { + OpaqueProperties

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/82474 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support rolling back properties in dialect conversion (PR #82474)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite { : OperationRewrite(Kind::ModifyOperation, rewriterImpl, op), loc(op->getLoc()), attrs(op->getAttrDictionary()), operands(op->operand_begin(), op->operand_end()), -

[llvm-branch-commits] [flang] [mlir] [mlir][Transforms] Make `ConversionPatternRewriter` constructor private (PR #82244)

2024-02-21 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/82244 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support `moveOpBefore`/`After` in dialect conversion (PR #81240)

2024-02-09 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/81240 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support `moveOpBefore`/`After` in dialect conversion (PR #81240)

2024-02-09 Thread Mehdi Amini via llvm-branch-commits
@@ -970,6 +971,54 @@ class BlockTypeConversionAction : public BlockAction { void rollback() override; }; + +/// An operation rewrite. joker-eph wrote: Can you expand on the role of the class, the context where it's used? The "Action" name for this whole

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Modularize block actions (PR #81237)

2024-02-09 Thread Mehdi Amini via llvm-branch-commits
@@ -820,6 +740,238 @@ void ArgConverter::insertConversion(Block *newBlock, conversionInfo.insert({newBlock, std::move(info)}); } +//===--===// +// RewriteAction joker-eph wrote: Mentioned

[llvm-branch-commits] [mlir] [mlir] Start moving some builtin type formats to the dialect (PR #80421)

2024-02-02 Thread Mehdi Amini via llvm-branch-commits
@@ -25,7 +25,8 @@ include "mlir/IR/BuiltinTypeInterfaces.td" // Base class for Builtin dialect types. class Builtin_Type traits = [], string baseCppClass = "::mlir::Type"> -: TypeDef { +: TypeDefhttps://github.com/llvm/llvm-project/pull/80421

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-04-17 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,44 @@ +//===- CIRDialect.td - CIR dialect -*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-04-17 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,44 @@ +//===- CIRDialect.td - CIR dialect -*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[llvm-branch-commits] [llvm] [mlir] [mlir][test] Shard and reorganize the test dialect (PR #89424)

2024-04-19 Thread Mehdi Amini via llvm-branch-commits
@@ -228,6 +332,7 @@ void TestDialect::initialize() { >(); registerOpsSyntax(); addOperations(); + registerTestDialectOperations(this); joker-eph wrote: This the actual "magic" right? You're calling into the generated registration method which

[llvm-branch-commits] [mlir] [mlir][test] Reorganize the test dialect (PR #89424)

2024-04-22 Thread Mehdi Amini via llvm-branch-commits
joker-eph wrote: LG, but please make sure to remove all spurious headers from the commit description (seems like it should start at "This PR massively ...") https://github.com/llvm/llvm-project/pull/89424 ___ llvm-branch-commits mailing list

[llvm-branch-commits] [mlir] [mlir][test] Reorganize the test dialect (PR #89424)

2024-04-22 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/89424 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -562,30 +562,39 @@ bool GreedyPatternRewriteDriver::processWorklist() { // Try to match one of the patterns. The rewriter is automatically // notified of any necessary changes, so there is nothing else to do // here. +std::function canApply = nullptr; +

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -68,9 +68,9 @@ class PatternApplicator { ///invalidate the match and try another pattern. LogicalResult matchAndRewrite(Operation *op, PatternRewriter , - function_ref canApply = {}, - function_ref onFailure = {}, -

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -68,9 +68,9 @@ class PatternApplicator { ///invalidate the match and try another pattern. LogicalResult matchAndRewrite(Operation *op, PatternRewriter , - function_ref canApply = {}, - function_ref onFailure = {}, -

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph edited https://github.com/llvm/llvm-project/pull/84131 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph edited https://github.com/llvm/llvm-project/pull/84131 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -562,30 +562,39 @@ bool GreedyPatternRewriteDriver::processWorklist() { // Try to match one of the patterns. The rewriter is automatically // notified of any necessary changes, so there is nothing else to do // here. +std::function canApply = nullptr; +

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -572,20 +571,33 @@ bool GreedyPatternRewriteDriver::processWorklist() { logger.getOStream() << ")' {\n"; logger.indent(); }); + if (config.listener) +config.listener->notifyPatternBegin(pattern, op); return true; }; -auto

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/84131 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][IR] Add listener notifications for pattern begin/end (PR #84131)

2024-03-07 Thread Mehdi Amini via llvm-branch-commits
@@ -68,9 +68,9 @@ class PatternApplicator { ///invalidate the match and try another pattern. LogicalResult matchAndRewrite(Operation *op, PatternRewriter , - function_ref canApply = {}, - function_ref onFailure = {}, -

[llvm-branch-commits] [clang] [clang-tools-extra] [lld] [lldb] [llvm] [mlir] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (PR #83702)

2024-03-05 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/83702 >From 7935f2b8d298c7c882a472baf982cd29aa87cb26 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Tue, 5 Mar 2024 10:38:41 -0800 Subject: [PATCH] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) The

[llvm-branch-commits] [clang] [clang-tools-extra] [lld] [lldb] [llvm] [mlir] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (PR #83702)

2024-03-05 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph edited https://github.com/llvm/llvm-project/pull/83702 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [lld] [lldb] [llvm] [mlir] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (PR #83702)

2024-03-05 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph closed https://github.com/llvm/llvm-project/pull/83702 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [lld] [lldb] [llvm] [mlir] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (PR #83702)

2024-03-05 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph reopened https://github.com/llvm/llvm-project/pull/83702 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [lld] [lldb] [llvm] [mlir] Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (PR #83702)

2024-03-05 Thread Mehdi Amini via llvm-branch-commits
joker-eph wrote: Here is the extracted one: https://github.com/llvm/llvm-project/pull/84056 And the diff here is now clean (stacked on top of #84056 ) How does it look now @dwblaikie ? https://github.com/llvm/llvm-project/pull/83702 ___

[llvm-branch-commits] [mlir] [mlir][IR][NFC] Make `replaceAllUsesWith` non-templatized (PR #84722)

2024-03-11 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph approved this pull request. https://github.com/llvm/llvm-project/pull/84722 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][Transforms] Support `replaceAllUsesWith` in dialect conversion (PR #84725)

2024-03-11 Thread Mehdi Amini via llvm-branch-commits
@@ -751,6 +731,44 @@ class UnresolvedMaterializationRewrite : public OperationRewrite { /// The original output type. This is only used for argument conversions. Type origOutputType; }; + +/// A value rewrite. +class ValueRewrite : public IRRewrite { +public: + ///

[llvm-branch-commits] [mlir] [mlir][LLVM] erase call mappings in forgetMapping() (PR #84955)

2024-03-18 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,47 @@ +// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s + +// Test that we don't crash when there is a call operation in the combiner + +omp.reduction.declare @add_f32 : f32 +init { +^bb0(%arg: f32): + %0 = llvm.mlir.constant(0.0 : f32) : f32 + omp.yield (%0

[llvm-branch-commits] [mlir] release/18.x: [mlir][NFC] Apply rule of five to *Pass classes (#80998) (PR #83971)

2024-03-12 Thread Mehdi Amini via llvm-branch-commits
joker-eph wrote: Do we have any ABI stability guarantees for LLVM C++ APIs? I would think that a lot of back ports can break the C++ ABI of LLVM in general? (I was assuming we'd care about the LLVM C API, libclang, ...) https://github.com/llvm/llvm-project/pull/83971

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-03-21 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,46 @@ +//===- CIRTypes.td - CIR dialect types -*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-03-21 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,46 @@ +//===- CIRTypes.td - CIR dialect types -*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-03-21 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,16 @@ +# This replicates part of the add_mlir_dialect cmake function from MLIR that +# cannot be used here. This happens because it expects to be run inside MLIR +# directory which is not the case for CIR (and also FIR, both have similar +# workarounds). + +#

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-03-21 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,18 @@ +//===-- CIROps.td - CIR dialect definition -*- tablegen -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[llvm-branch-commits] [clang] [CIR][NFC] Add scaffolding for the CIR dialect and CIROps.td (PR #86080)

2024-03-21 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,16 @@ +# This replicates part of the add_mlir_dialect cmake function from MLIR that +# cannot be used here. This happens because it expects to be run inside MLIR +# directory which is not the case for CIR (and also FIR, both have similar +# workarounds). + +#

[llvm-branch-commits] [mlir] [mlir][LLVM] erase call mappings in forgetMapping() (PR #84955)

2024-03-15 Thread Mehdi Amini via llvm-branch-commits
@@ -0,0 +1,47 @@ +// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s + +// Test that we don't crash when there is a call operation in the combiner + +omp.reduction.declare @add_f32 : f32 +init { +^bb0(%arg: f32): + %0 = llvm.mlir.constant(0.0 : f32) : f32 + omp.yield (%0

  1   2   >