This is an archive of the discontinued LLVM Phabricator instance.

[CaptureTracking] Allow null to be in either icmp operand
ClosedPublic

Authored by jdoerfert on Aug 15 2019, 4:35 PM.

Details

Summary

Before we required the comparison against null to be "canonical", hence
null to be operand #1. This patch allows null to be in either operand,
similar to the handling of loaded globals that follows.

Diff Detail

Repository
rL LLVM

Event Timeline

jdoerfert created this revision.Aug 15 2019, 4:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2019, 4:35 PM
uenoku accepted this revision.Aug 15 2019, 7:02 PM

It looks straight forward. LGTM

This revision is now accepted and ready to land.Aug 15 2019, 7:02 PM
This revision was automatically updated to reflect the committed changes.