[all-commits] [llvm/llvm-project] a33f01: [Local][SimplifyCFG][GVN] Handle !nontemporal in c...

Daniel Woodworth via All-commits all-commits at lists.llvm.org
Wed Feb 22 05:47:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a33f018b89c07e0728539b34c158e88a7db49982
      https://github.com/llvm/llvm-project/commit/a33f018b89c07e0728539b34c158e88a7db49982
  Author: Daniel Woodworth <daniel.woodworth at intel.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/GVN/nontemporal.ll
    M llvm/test/Transforms/GVNSink/sink-combine-metadata.ll
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [Local][SimplifyCFG][GVN] Handle !nontemporal in combineMetadata

SimplifyCFG currently drops !nontemporal metadata when sinking
common instructions. With this change, SimplifyCFG and similar
transforms will preserve !nontemporal metadata as long as it is
set on both original instructions.

Differential Revision: https://reviews.llvm.org/D144298




More information about the All-commits mailing list