Skip to content
Commit 606bc315 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

AMDGPU: Fix v2f16 fneg/fabs pattern

The integer operation convertion for some reason only happens
if the source is a bitcast from an integer, which happens to
always be the situation when the result is loaded. Add
an additional pattern for when the source operation is really
an FP operation.

llvm-svn: 333019
parent 785acce5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment