[all-commits] [llvm/llvm-project] 0713c8: [GlobalISel]: Add a getConstantIntVRegVal utility

petar-avramovic via All-commits all-commits at lists.llvm.org
Tue Apr 27 02:03:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0713c82b13ad855416be6ee79b646cbe45bda8d6
      https://github.com/llvm/llvm-project/commit/0713c82b13ad855416be6ee79b646cbe45bda8d6
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp

  Log Message:
  -----------
  [GlobalISel]: Add a getConstantIntVRegVal utility

Returns ConstantInt from G_CONSTANT instruction given its def register.

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


  Commit: ebe408ad8003c946ef871b955ab18e64e82697cb
      https://github.com/llvm/llvm-project/commit/ebe408ad8003c946ef871b955ab18e64e82697cb
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
    M llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp

  Log Message:
  -----------
  [MIPatternMatch]: Add ICstRegMatch

Matches G_CONSTANT and returns its def register.

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


Compare: https://github.com/llvm/llvm-project/compare/d6c6db2feaab...ebe408ad8003


More information about the All-commits mailing list