diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-08-13 06:48:44 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-08-13 06:48:44 +0000 |
commit | 8c372a31b7b91adad5566e6ae1436a65879d6025 (patch) | |
tree | c987da9f7468fc596f38cce948672c5327ae94fb /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | eafdbecc44c48527d0a7d52b25ddedce7f7d85b4 (diff) | |
download | bcm5719-llvm-8c372a31b7b91adad5566e6ae1436a65879d6025.tar.gz bcm5719-llvm-8c372a31b7b91adad5566e6ae1436a65879d6025.zip |
[X86] Add a check of isCommutable at the top of X86InstrInfo::findCommutedOpIndices. Most callers don't check if the instruction is commutable before calling.
This saves us the trouble of ending up in the default of the switch and having to determine if this is an FMA or not.
llvm-svn: 278597
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions