[all-commits] [llvm/llvm-project] f7fe7e: [MergeFunctions] fix function attribute comparison...

Tim Northover via All-commits all-commits at lists.llvm.org
Mon Nov 9 01:46:29 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f7fe7ea24d368f45deee1aed5e4c582ac69edd0b
      https://github.com/llvm/llvm-project/commit/f7fe7ea24d368f45deee1aed5e4c582ac69edd0b
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    A llvm/test/Transforms/MergeFunc/mismatching-attr-crash.ll

  Log Message:
  -----------
  [MergeFunctions] fix function attribute comparison in FunctionComparator

The comparison of AttributeSets stopped after seeing a matching type attribute.
Subsequent mismatching attributes were not detected causing a crash.




More information about the All-commits mailing list