[PATCH] D93015: Fold comparison of __builtin_object_size expression with -1 for non-const size
    Siddhesh Poyarekar via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Dec 17 04:19:04 PST 2020
    
    
  
siddhesh updated this revision to Diff 312447.
siddhesh set the repository for this revision to rG LLVM Github Monorepo.
siddhesh added a comment.
Updated version using `Uses` and `getOperandNo` as suggested.  I have not used `llvm.assume` yet, more in another comment.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93015/new/
https://reviews.llvm.org/D93015
Files:
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93015.312447.patch
Type: text/x-patch
Size: 3341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201217/506461b5/attachment.bin>
    
    
More information about the llvm-commits
mailing list