[all-commits] [llvm/llvm-project] 7caba3: [ConstantRange] Add initial support for binaryXor.

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Mar 24 06:00:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7caba33907afce839c092661e20fdfd51b08e7d0
      https://github.com/llvm/llvm-project/commit/7caba33907afce839c092661e20fdfd51b08e7d0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/ConstantRange.h
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  [ConstantRange] Add initial support for binaryXor.

The initial implementation just delegates to APInt's implementation of
XOR for single element ranges and conservatively returns the full set
otherwise.

Reviewers: nikic, spatel, lebedev.ri

Reviewed By: nikic

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




More information about the All-commits mailing list