HomePhabricator

GlobalISel: Ignore callsite attributes when picking intrinsic type

Authored by arsenm on Jun 17 2019, 10:01 AM.

Description

GlobalISel: Ignore callsite attributes when picking intrinsic type

A target intrinsic may be defined as possibly reading memory, but the
call site may have additional knowledge that it doesn't read
memory. The intrinsic lowering will expect the pessimistic assumption
of the intrinsic definition, so the chain should still be used.

I fixed the same bug in SelectionDAG in r287593.

llvm-svn: 363580

Details

Committed
arsenmJun 17 2019, 10:01 AM
Parents
rGa7f09f3c9e68: GlobalISel: Verify intrinsics
Branches
Unknown
Tags
Unknown