-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed as not planned
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm:GVNGVN and NewGVN stages (Global value numbering)GVN and NewGVN stages (Global value numbering)obsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Description
| Bugzilla Link | 31523 |
| Version | trunk |
| OS | Linux |
| Blocks | #30343 |
| CC | @sanjoy |
Extended Description
GVN currently does not have any handling for the llvm.experimental.guard intrinsics. It does support assumes. We should extend the handling to propagate equalities from guards as well.
As a trivial example:
guard (a != null);
...
guard (a != null); // can be removed
Note that we also need to add the same handling to the new memory SSA based NewGVN.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm:GVNGVN and NewGVN stages (Global value numbering)GVN and NewGVN stages (Global value numbering)obsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM