This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Require tail policy argument to builtins to be an integer constant expression
ClosedPublic

Authored by craig.topper on Sep 29 2021, 2:59 PM.

Details

Summary

The IR intrinsics use ImmArg for the policy operand so this needs to be enforced as a constant in the frontend.

Diff Detail

Event Timeline

craig.topper created this revision.Sep 29 2021, 2:59 PM
craig.topper requested review of this revision.Sep 29 2021, 2:59 PM
This revision is now accepted and ready to land.Sep 29 2021, 7:56 PM
This revision was landed with ongoing or failed builds.Oct 11 2021, 9:55 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2021, 9:55 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript