[PATCH] D18291: Add IntrOnlyWrite intrinsic property
Nicolai Hähnle via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 20:04:36 PDT 2016
nhaehnle created this revision.
nhaehnle added reviewers: tstellarAMD, arsenm.
nhaehnle added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
This property is used to mark an intrinsic that writes to memory, but is
lowered to instructions without the mayLoad or hasSideEffects flag because the
target-specific code understands its memory behavior fully.
An example for this is the llvm.amdgcn.buffer.store.format.* intrinsic, which
corresponds to a store instruction that goes through a special buffer
descriptor rather than through a plain pointer.
With this property, the intrinsic should still be handled as having side
effects at the LLVM IR level, but machine scheduling can make smarter
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5131 bytes
Desc: not available
More information about the llvm-commits