[all-commits] [llvm/llvm-project] 9cbab1: [ConstantsTest] Avoid crash with opaque pointers

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 13 06:23:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cbab13282fe59885b6f9c2411eddbdd452c36e7
      https://github.com/llvm/llvm-project/commit/9cbab13282fe59885b6f9c2411eddbdd452c36e7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [ConstantsTest] Avoid crash with opaque pointers

With opaque pointers there will be no bitcast, so don't assume
that.




More information about the All-commits mailing list