diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-08-21 21:34:24 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-08-21 21:34:24 +0000 |
commit | ff9639d6b700d8ff05994329b65e55a7842f44ba (patch) | |
tree | 16a195039aa7dc34e07c9886704484182e632d1e /llvm/lib/IR/Function.cpp | |
parent | 1de2acd3c2d94f424d2e8a1b366159c2578754e1 (diff) | |
download | llvm-ff9639d6b700d8ff05994329b65e55a7842f44ba.zip llvm-ff9639d6b700d8ff05994329b65e55a7842f44ba.tar.gz llvm-ff9639d6b700d8ff05994329b65e55a7842f44ba.tar.bz2 |
[PowerPC] PPCVSXFMAMutate should not segfault on undef input registers
When PPCVSXFMAMutate would look at the input addend register, it would get its
input value number. This would fail, however, if the register was undef,
causing a segfault. Don't segfault (just skip such FMA instructions).
Fixes the test case from PR24542 (although that may have been over-reduced).
llvm-svn: 245741
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions