[all-commits] [llvm/llvm-project] 6a008d: [Evaluator] Simplify handling of bitcasted calls

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 25 05:19:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a008de82a8965bd8aac4456e20a51a883e4126b
      https://github.com/llvm/llvm-project/commit/6a008de82a8965bd8aac4456e20a51a883e4126b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Evaluator.h
    M llvm/lib/Transforms/Utils/Evaluator.cpp

  Log Message:
  -----------
  [Evaluator] Simplify handling of bitcasted calls

When fetching the function, strip casts. When casting the result,
use the call result type. Don't actually inspect the bitcast.




More information about the All-commits mailing list