This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add support for signed / unsigned operands for IntArithmeticOp
Needs RevisionPublic

Authored by andidr on Mar 13 2020, 8:53 AM.

Details

Summary

Currently, only signless integer operands are allowed for arithmetic integer operations. This commit additionally allows for explicitly signed and explicitly unsigned integer operands.

Minimal testing on std.addi is provided.

Diff Detail

Event Timeline

andidr created this revision.Mar 13 2020, 8:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
rriddle requested changes to this revision.Mar 13 2020, 11:19 AM

The same constraint applies as described in https://reviews.llvm.org/D76136.

This revision now requires changes to proceed.Mar 13 2020, 11:19 AM
nicolasvasilache resigned from this revision.Oct 2 2020, 1:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2020, 1:25 AM