This is an archive of the discontinued LLVM Phabricator instance.

[SveEmitter] Add builtins for svwhile
ClosedPublic

Authored by sdesmalen on Apr 6 2020, 3:14 PM.

Details

Summary

This also adds the IsOverloadWhile flag which tells CGBuiltin to use
both the default type (predicate) and the type of the second operand
(scalar) as the overloaded types for the LLMV IR intrinsic.

Diff Detail

Event Timeline

sdesmalen created this revision.Apr 6 2020, 3:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2020, 3:14 PM
Herald added a subscriber: tschuett. · View Herald Transcript
sdesmalen updated this revision to Diff 257829.Apr 15 2020, 1:40 PM
sdesmalen retitled this revision from [SveEmitter] Add NoAuto flag and builtins for svwhile. to [SveEmitter] Add builtins for svwhile.
sdesmalen edited the summary of this revision. (Show Details)
  • The function that returns a list of overloaded types for the intrinsics added in D77596 means we don't need to use custom codegen for the while intrinsics any more.
This revision is now accepted and ready to land.Apr 15 2020, 2:41 PM
This revision was automatically updated to reflect the committed changes.