aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-10-17 21:02:44 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-10-17 21:02:44 +0000
commita087d74250f1235ded2393ac2d96623cf0d418b9 (patch)
tree17aeea00f9888e90308a52cd0d191f4578be5597 /clang/lib/CodeGen/CodeGenModule.cpp
parent644492139ff0ac3c013f44244819105cb8e05df1 (diff)
downloadllvm-a087d74250f1235ded2393ac2d96623cf0d418b9.zip
llvm-a087d74250f1235ded2393ac2d96623cf0d418b9.tar.gz
llvm-a087d74250f1235ded2393ac2d96623cf0d418b9.tar.bz2
[PowerPC] Change liveness testing in VSX FMA mutation pass
With VSX enabled, LLVM crashes when compiling test/CodeGen/PowerPC/fma.ll. I traced this to the liveness test that's revised in this patch. The interval test is designed to only work for virtual registers, but in this case the AddendSrcReg is physical. Since there is already a walk of the MIs between the AddendMI and the FMA, I added a check for def/kill of the AddendSrcReg in that loop. At Hal Finkel's request, I converted the liveness test to an assert restricted to virtual registers. I've changed the fma.ll test to have VSX and non-VSX variants so we can test both kinds of multiply-adds. llvm-svn: 220090
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions