[all-commits] [llvm/llvm-project] 2fce50: AMDGPU: Fix assertion with multiple uses of f64 fn...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Apr 20 07:15:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fce50e8f583604d49e3bdefde012de244d1e86b
      https://github.com/llvm/llvm-project/commit/2fce50e8f583604d49e3bdefde012de244d1e86b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/fneg-modifier-casting.ll

  Log Message:
  -----------
  AMDGPU: Fix assertion with multiple uses of f64 fneg of select

A bitcast needs to be inserted back to the original type. Just
skip the multiple use case for a safer quick fix. Handling
the multiple use case seems to be beneficial in some but not
all cases.




More information about the All-commits mailing list