[PATCH] D89050: Add support for !noundef metatdata on loads

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 16:43:56 PDT 2020


aqjune updated this revision to Diff 298518.
aqjune added a comment.
Herald added a subscriber: jfb.

Undo unnecessary changes

Use 'metadata node' instead of 'metadata name', because metadata node's contents can be written in place
e.g., `load %ptr, !range !{i32 0, i32 3}`

Use `<empty_node>` instead of `<index>` for nonnull/invariant.start/etc


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89050/new/

https://reviews.llvm.org/D89050

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/FixedMetadataKinds.def
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/test/Transforms/InstSimplify/freeze-noundef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89050.298518.patch
Type: text/x-patch
Size: 7667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/df7dec99/attachment.bin>


More information about the llvm-commits mailing list