[PATCH] D144951: [IR] Clarify that expect intrinsics may take vector types

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 02:58:34 PST 2023


frasercrmck created this revision.
frasercrmck added reviewers: davidxl, rsmith, LukeZhuang, lebedev.ri, RKSimon.
Herald added subscribers: StephenFan, jdoerfert.
Herald added a project: All.
frasercrmck requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This wasn't clear in the LangRef, nor was it tested.

The LowerExpectIntrinsic pass doesn't currently add branch weights to
those intrinsics using vector types, but the intrinsics are still
lowered.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144951

Files:
  llvm/docs/LangRef.rst
  llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
  llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144951.501064.patch
Type: text/x-patch
Size: 5066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/828c57e8/attachment.bin>


More information about the llvm-commits mailing list