Skip to content
Snippets Groups Projects
Commit 5d4df3ac authored by Francisco Jerez's avatar Francisco Jerez Committed by Marge Bot
Browse files

intel/compiler: Run extra fp64 lowering pass on devices that don't support int64.


In some cases nir_lower_int64 will emit fp64 operations which aren't
natively supported on any Intel hardware (e.g. ftrunc, frem).  An
extra pass of nir_opt_algebraic (for frem) and nir_lower_doubles is
required in order to take care of them.  This fixes several int64
test-cases on MTL hardware.

Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarMykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
Part-of: <!19390>
parent e14f8536
No related branches found
No related tags found
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