[all-commits] [llvm/llvm-project] 0acab0: Merging r372675:

AE via All-commits all-commits at lists.llvm.org
Tue Nov 12 13:41:52 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0acab01d54de35ea1fdf790215e9caf4e139ac80
      https://github.com/llvm/llvm-project/commit/0acab01d54de35ea1fdf790215e9caf4e139ac80
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll

  Log Message:
  -----------
  Merging r372675:

------------------------------------------------------------------------
r372675 | aemerson | 2019-09-23 17:09:23 -0700 (Mon, 23 Sep 2019) | 7 lines

[GlobalISel][IRTranslator] Fix switch table lowering to use signed LE not unsigned.

We were miscompiling switch value comparisons with the wrong signedness, which
shows up when we have things like switch case values with i1 types, which end up
being legalized incorrectly.

Fixes PR43383
------------------------------------------------------------------------




More information about the All-commits mailing list