[all-commits] [llvm/llvm-project] 36fdfa: [RelLookupTableConverter] Ensure that GV, GEP and ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 17 03:05:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36fdfaba191ce9e7f951d994379a0827c7b08ffe
      https://github.com/llvm/llvm-project/commit/36fdfaba191ce9e7f951d994379a0827c7b08ffe
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
    A llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll

  Log Message:
  -----------
  [RelLookupTableConverter] Ensure that GV, GEP and load types match

This code could be generalized to be type-independent, but for now
just ensure that the same type constraints are enforced with opaque
pointers as with typed pointers.




More information about the All-commits mailing list