[all-commits] [llvm/llvm-project] a34465: [GlobalISel] Fix IRTranslator for constexpr fcmp

Konstantin Schwarz via All-commits all-commits at lists.llvm.org
Thu Dec 9 23:49:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a34465372507a654ff4ec8c1f7faabda4c5d9ab9
      https://github.com/llvm/llvm-project/commit/a34465372507a654ff4ec8c1f7faabda4c5d9ab9
  Author: Konstantin Schwarz <konstantin.schwarz at hightec-rt.com>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-constantexpr.ll

  Log Message:
  -----------
  [GlobalISel] Fix IRTranslator for constexpr fcmp

The existing code assumed fcmp to always be an Instruction, but it can also be a ConstExpr.

Reviewed By: arsenm

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




More information about the All-commits mailing list