[PATCH] D128435: [AMDGPU] Fix assertion failure on mad with negative immediate addend

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 01:35:57 PDT 2022


foad added a comment.

In D128435#3608508 <https://reviews.llvm.org/D128435#3608508>, @rampitec wrote:

> LGTM, but I really think we just need to truncate the immediate at selection.

You mean as_i64imm should zero extend *instead* of sign extending?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128435/new/

https://reviews.llvm.org/D128435



More information about the llvm-commits mailing list