[all-commits] [llvm/llvm-project] 624e4d: [GlobalISel] Support ConstantAsMetadata in IRTrans...

Aleksandr Bezzubikov via All-commits all-commits at lists.llvm.org
Tue Sep 21 08:25:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 624e4d087efdb2f26a9a618dd0e2da99782e6308
      https://github.com/llvm/llvm-project/commit/624e4d087efdb2f26a9a618dd0e2da99782e6308
  Author: Aleksandr Bezzubikov <aleksandr.bezzubikov at intel.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

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

  Log Message:
  -----------
  [GlobalISel] Support ConstantAsMetadata in IRTranslator

When using instructions which have a MetadataAsValue argument
(e.g. some target-specific intrinsics) MD canonicalization strips
internal MDNodes with a single ConstantAsMetadata child. That
prevented IRTranslator from the proper translation of such a calls.




More information about the All-commits mailing list