diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-06-17 17:01:35 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-06-17 17:01:35 +0000 |
commit | 3e140066bce1cbc40604274bd99a0cc2efed01f5 (patch) | |
tree | cbb51d58de23cb07cb4f853a69c6f322318076b3 /llvm/lib/Target/X86/X86TargetTransformInfo.h | |
parent | a7f09f3c9e68fab859f6e3283f9c01d5b6b39143 (diff) | |
download | bcm5719-llvm-3e140066bce1cbc40604274bd99a0cc2efed01f5.tar.gz bcm5719-llvm-3e140066bce1cbc40604274bd99a0cc2efed01f5.zip |
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
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetTransformInfo.h')
0 files changed, 0 insertions, 0 deletions