summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-10-11 11:03:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-10-11 11:03:30 +0000
commitb29a74389190d649aeb96a5d1f949a3aaf4e744a (patch)
tree7ea9510a8565841541f2d2ceb2f9198eba797244 /llvm/docs/CommandGuide
parent8d57d2510fe71c37dda0d3219a3411ffad0cee3e (diff)
downloadbcm5719-llvm-b29a74389190d649aeb96a5d1f949a3aaf4e744a.tar.gz
bcm5719-llvm-b29a74389190d649aeb96a5d1f949a3aaf4e744a.zip
[complex] Teach the other two binary operators on complex numbers (==
and !=) to support mixed complex and real operand types. This requires removing an assert from SemaChecking, and adding support both to the constant evaluator and the code generator to synthesize the imaginary part when needed. This seemed somewhat cleaner than having just the comparison operators force real-to-complex conversions. I've added test cases for these operations. I'm really terrified that there were *no* tests in-tree which exercised this. This turned up when trying to build R after my change to the complex type lowering. llvm-svn: 219570
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud