Unverified Commit f1112ebe authored by Matt Arsenault's avatar Matt Arsenault Committed by GitHub
Browse files

AMDGPU: Do not bitcast atomic load in IR (#90060)

These hooks should be removed. This is a trivial legalization transform
the legalizer needs to support. The IR just complicates things, and it
was losing metadata. Implement the DAG promotion support, and switch
AMDGPU over to using it.

Really we'd be a lot better off merging ATOMIC_LOAD and LOAD like
GlobalISel does.
parent 1ed1ec9a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment