summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/CoverageMappingWriter.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-01-07 23:58:38 +0000
committerMatthias Braun <matze@braunis.de>2015-01-07 23:58:38 +0000
commitd55e6ddacf0e948342e71bf8bbd990a3ae89faa5 (patch)
tree54b9d36f930abad88167b7a216a975cd34713522 /llvm/lib/ProfileData/CoverageMappingWriter.cpp
parent462fd1ede5754fcf78b40a4c56782368734468b2 (diff)
downloadbcm5719-llvm-d55e6ddacf0e948342e71bf8bbd990a3ae89faa5.tar.gz
bcm5719-llvm-d55e6ddacf0e948342e71bf8bbd990a3ae89faa5.zip
RegisterCoalescer: Fix valuesIdentical() in some subrange merge cases.
I got confused and assumed SrcIdx/DstIdx of the CoalescerPair is a subregister index in SrcReg/DstReg, but they are actually subregister indices of the coalesced register that get you back to SrcReg/DstReg when applied. Fixed the bug, improved comments and simplified code accordingly. Testcase by Tom Stellard! llvm-svn: 225415
Diffstat (limited to 'llvm/lib/ProfileData/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud