[all-commits] [llvm/llvm-project] 696cc2: [LVI] Make UndefAllowed argument of getConstantRan...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 12 02:44:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696cc20d4e748f2619f7398dcfe8f4ed8d0863ab
      https://github.com/llvm/llvm-project/commit/696cc20d4e748f2619f7398dcfe8f4ed8d0863ab
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp

  Log Message:
  -----------
  [LVI] Make UndefAllowed argument of getConstantRange() required

For the two remaining uses that did not explicitly specify it,
set UndefAllowed=false. In both cases, I believe that treating
undef as a full range is the correct behavior.




More information about the All-commits mailing list