[all-commits] [llvm/llvm-project] 1283dc: [GISel] Correct the known bits of G_ANYEXT

Justin Bogner via All-commits all-commits at lists.llvm.org
Thu Aug 20 17:17:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1283dca0076b3441fa0ecae86d9f2d2afd3afa6f
      https://github.com/llvm/llvm-project/commit/1283dca0076b3441fa0ecae86d9f2d2afd3afa6f
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp

  Log Message:
  -----------
  [GISel] Correct the known bits of G_ANYEXT

Known bits for G_ANYEXT was incorrectly using KnownBits::zext, causing
us to treat the high bits as zero even though they're (by definition)
unknown.

Differential Revision: https://reviews.llvm.org/D86323




More information about the All-commits mailing list