[all-commits] [llvm/llvm-project] 05cd9a: [ConstantFold] Simplify type check in reinterpret ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jan 21 00:09:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05cd9a0596d8d2cc4fdb1d1dfa0957968aceaf92
      https://github.com/llvm/llvm-project/commit/05cd9a0596d8d2cc4fdb1d1dfa0957968aceaf92
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp

  Log Message:
  -----------
  [ConstantFold] Simplify type check in reinterpret load folding (NFC)

Keep a list of allowed types, but then always construct the map
type the same way. We need an integer with the same width as the
original type.




More information about the All-commits mailing list