This is an archive of the discontinued LLVM Phabricator instance.

[clang][Inter] Implement __builtin_expect
AbandonedPublic

Authored by tbaeder on Dec 9 2022, 2:35 AM.

Details

Summary

This adds a InterpStack::discard() version that takes a PrimType argument.

I'm not sure what to do if we actually want to use a value from the stack...

Diff Detail

Event Timeline

tbaeder created this revision.Dec 9 2022, 2:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2022, 2:35 AM
tbaeder requested review of this revision.Dec 9 2022, 2:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2022, 2:35 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
tbaeder abandoned this revision.Dec 9 2022, 2:58 AM