summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF/BPFTargetMachine.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2019-06-10 21:53:56 +0000
committerJessica Paquette <jpaquette@apple.com>2019-06-10 21:53:56 +0000
commitb22954384e34eebb761db342dbad0b08dfb57856 (patch)
tree18c3fd4611aae4293cc2a50dd3cc9231984f824d /llvm/lib/Target/BPF/BPFTargetMachine.cpp
parent23ee97be05f4e75fd40696ee3f2fd5c11b1a46f2 (diff)
downloadbcm5719-llvm-b22954384e34eebb761db342dbad0b08dfb57856.tar.gz
bcm5719-llvm-b22954384e34eebb761db342dbad0b08dfb57856.zip
[GlobalISel] Translate memset/memmove/memcpy from undef ptrs into nops
If the source is undef, then just don't do anything. This matches SelectionDAG's behaviour in SelectionDAG.cpp. Also add a test showing that we do the right thing here. (irtranslator-memfunc-undef.ll) Differential Revision: https://reviews.llvm.org/D63095 llvm-svn: 362989
Diffstat (limited to 'llvm/lib/Target/BPF/BPFTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud