summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-09 18:50:20 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-09 18:50:20 +0000
commit41221693082ec891ea0bb312cab17ce8b8b7e10e (patch)
tree0af30e753fee1bdec39b07bcb3d001c66e5da1ec /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent73fa842e2e5ab47c22c8f0c3447a6254ab296264 (diff)
downloadbcm5719-llvm-41221693082ec891ea0bb312cab17ce8b8b7e10e.tar.gz
bcm5719-llvm-41221693082ec891ea0bb312cab17ce8b8b7e10e.zip
[PowerPC] Better fix for PR16556.
A more complete example of the bug in PR16556 was recently provided, showing that the previous fix was not sufficient. The previous fix is reverted herein. The real problem is that ReplaceNodeResults() uses LowerFP_TO_INT as custom lowering for FP_TO_SINT during type legalization, without checking whether the input type is handled by that routine. LowerFP_TO_INT requires the input to be f32 or f64, so we fail when the input is ppcf128. I'm leaving the test case from the initial fix (r185821) in place, and adding the new test as another crash-only check. llvm-svn: 185959
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud