summaryrefslogtreecommitdiff
path: root/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-06-18 20:49:40 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-06-18 20:49:40 +0000
commit8493edfb4b61e5c63669fc19a55b640e1ad7aee1 (patch)
tree5b69e41beb47add0f2ae2c4953ea8b96c9337d30 /lib/Transforms/Vectorize/SLPVectorizer.cpp
parentf3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8 (diff)
downloadllvm-8493edfb4b61e5c63669fc19a55b640e1ad7aee1.tar.gz
llvm-8493edfb4b61e5c63669fc19a55b640e1ad7aee1.tar.bz2
llvm-8493edfb4b61e5c63669fc19a55b640e1ad7aee1.tar.xz
Converted an overly aggressive assert to a conditional check in AddCombineTo64bitMLAL.
Said assert assumes that ADDC will always have a glue node as its second argument and is checked before we even know that we are actually performing the relevant MLAL optimization. This is incorrect since on ARM we *CAN* codegen ADDC with a use list based second argument. Thus to have both effects, I converted the assert to a conditional check which if it fails we do not perform the optimization. In terms of tests I can not produce an ADDC from the IR level until I get in my multiprecision optimization patch which is forthcoming. The tests for said patch would cause this assert to fail implying that said tests will provide the relevant tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions