HomePhabricator

[TableGen] [AMDGPU] Add !sub operator for subtraction

Authored by Paul-C-Anagnostopoulos on Oct 23 2020, 2:02 PM.

Description

[TableGen] [AMDGPU] Add !sub operator for subtraction

Use it in the AMDGPU target to eliminate !add(value1, !mul(value2, -1))

Differential Revision: https://reviews.llvm.org/D90107

Details

Committed
Paul-C-AnagnostopoulosOct 28 2020, 9:27 AM
Differential Revision
D90107: [TableGen] [AMDGPU] Add !sub bang operator for subtraction
Parents
rGb9c21d43bb0c: RegAlloc: Clear isSSA
Branches
Unknown
Tags
Unknown