summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/python-extensions.swig
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-10-08 18:59:53 +0000
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-10-08 18:59:53 +0000
commitfe3f793cec1dd5bb44f8451bfcaa22a3b59a1c1e (patch)
treeea57d73f5d7a556969c79ab639b85972255ab26d /lldb/scripts/Python/python-extensions.swig
parent07dced627e715dbfcb8c86bf4998da5962ed658d (diff)
downloadbcm5719-llvm-fe3f793cec1dd5bb44f8451bfcaa22a3b59a1c1e.tar.gz
bcm5719-llvm-fe3f793cec1dd5bb44f8451bfcaa22a3b59a1c1e.zip
PR12716: PPC crashes on vector compare
Vector compare using altivec 'vcmpxxx' instructions have as third argument a vector register instead of CR one, different from integer and float-point compares. This leads to a failure in code generation, where 'SelectSETCC' expects a DAG with a CR register and gets vector register instead. This patch changes the behavior by just returning a DAG with the vector compare instruction based on the type. The patch also adds a testcase for all vector types llvm defines. It also included a fix on signed 5-bits predicates printing, where signed values were not handled correctly as signed (char are unsigned by default for PowerPC). This generates 'vspltisw' (vector splat) instruction with SIM out of range. llvm-svn: 165419
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud