This is an archive of the discontinued LLVM Phabricator instance.

[codegen] Ensure target flags are cleared/set properly. NFC.
ClosedPublic

Authored by hliao on Sep 3 2020, 12:28 PM.

Details

Summary
  • When an operand is changed into an immediate value or like, ensure their target flags being cleared or set properly.

Diff Detail

Event Timeline

hliao created this revision.Sep 3 2020, 12:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 3 2020, 12:28 PM
hliao requested review of this revision.Sep 3 2020, 12:28 PM

Testcase? Or cleanup a few places where I've worked around this. I assume you found another

hliao updated this revision to Diff 289799.Sep 3 2020, 1:29 PM

Clean-up.

hliao added a comment.Sep 3 2020, 1:30 PM

Testcase? Or cleanup a few places where I've worked around this. I assume you found another

This a pending change I just dig out from my local repo. Through the rebasing, I found that test case is fixed in your previous change.

arsenm accepted this revision.Sep 3 2020, 2:30 PM
This revision is now accepted and ready to land.Sep 3 2020, 2:30 PM
This revision was landed with ongoing or failed builds.Sep 3 2020, 3:38 PM
This revision was automatically updated to reflect the committed changes.