This allows to add facts even if no corresponding ICmp instruction
exists in the IR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 60,040 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
| llvm/lib/Transforms/Scalar/ConstraintElimination.cpp | ||
|---|---|---|
| 120 | The flags here have become something of a mess. Can we represent these as an enum instead? Something like... enum {
/// Fact implied by Inst, holds from the definition point of Inst.
InstFact,
/// Fact implied by Condition, holds from the start of the block.
CondFact,
/// Check at a specific use-site of an instruction.
UseCheck,
/// Check for all uses of an instruction.
InstCheck,
}...assuming those are the possible cases, of which I'm not really sure. | |
| llvm/lib/Transforms/Scalar/ConstraintElimination.cpp | ||
|---|---|---|
| 120 | Thanks, added an enum here: e6260ec49c5d | |
The flags here have become something of a mess. Can we represent these as an enum instead? Something like...
enum { /// Fact implied by Inst, holds from the definition point of Inst. InstFact, /// Fact implied by Condition, holds from the start of the block. CondFact, /// Check at a specific use-site of an instruction. UseCheck, /// Check for all uses of an instruction. InstCheck, }...assuming those are the possible cases, of which I'm not really sure.