[PATCH] D85804: [AMDGPU] Fix crash when dag-combining bitcast

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 08:20:17 PDT 2020


arsenm added a comment.

In D85804#2213241 <https://reviews.llvm.org/D85804#2213241>, @ruiling wrote:

> I see. Is there other way to keep a bitcast from contantfp to i32 at LLVM IR level from being optimized off before the DAG?

I don't have any great ideas. It can be difficult to figure out how to produce operations that will produce the right type combination at the right time in the DAG


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85804



More information about the llvm-commits mailing list