Skip to content

Commit 9d5d4eb

Browse files
author
anoopkg6
committed
1. Implement SDValue simplifyAssumingCCVal to evaluate Val under the assumption that CC actually results in the numerical condition code value CCVal, and return vector of CCVals for each position.
2. Implement findCCUse routine that finds a CC that is used as condition code and the associated CCValid mask. 3. Code related to select_ccmask in combineCCMask has been removed, as this computation has been done in new framework. 4. Remove combineLogicalOpCCMask as simplifyAssumingCCVal fully recurses through logical operations.
1 parent 714682f commit 9d5d4eb

File tree

6 files changed

+303
-610
lines changed

6 files changed

+303
-610
lines changed

llvm/lib/Target/SystemZ/SystemZ.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class SystemZTargetMachine;
2424

2525
namespace SystemZ {
2626
// Condition-code mask values.
27+
const unsigned CCMASK_NONE = 0;
2728
const unsigned CCMASK_0 = 1 << 3;
2829
const unsigned CCMASK_1 = 1 << 2;
2930
const unsigned CCMASK_2 = 1 << 1;

0 commit comments

Comments
 (0)