[all-commits] [llvm/llvm-project] 1f5f00: [mlir][StandardOps] Verify that the result of an i...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Dec 10 12:41:27 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f5f006d9d53e785296d1a8fbb0e90904a5eaf60
      https://github.com/llvm/llvm-project/commit/1f5f006d9d53e785296d1a8fbb0e90904a5eaf60
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Dialect/Standard/invalid.mlir

  Log Message:
  -----------
  [mlir][StandardOps] Verify that the result of an integer constant is signless

This was missed when supported for unsigned/signed integer types was first added, and results in crashes if a user tries to create/print a constant with the incorrect integer type.

Fixes PR#46222

Differential Revision: https://reviews.llvm.org/D92981




More information about the All-commits mailing list