summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-12-12 01:32:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-12-12 01:32:07 +0000
commitc3d1aca657a1cf90858a493e783c15310f53b011 (patch)
treef9c031a6e6ed42bebe43d0a37ae14c9802b985fa /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent4fa2e3d5af7b81c626c1c63931f807bfab096ab7 (diff)
downloadbcm5719-llvm-c3d1aca657a1cf90858a493e783c15310f53b011.tar.gz
bcm5719-llvm-c3d1aca657a1cf90858a493e783c15310f53b011.zip
- Rename isLegalMemOpType to isSafeMemOpType. "Legal" is a very overloade term.
Also added more comments to explain why it is generally ok to return true. - Rename getOptimalMemOpType argument IsZeroVal to ZeroOrLdSrc. It's meant to be true for loaded source (memcpy) or zero constants (memset). The poor name choice is probably some kind of legacy issue. llvm-svn: 169954
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud