[PATCH] D120136: [ConstantRange] Construct constant range from xor operation

Joseph Faulls via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 05:04:46 PST 2022


Joe updated this revision to Diff 410280.
Joe marked an inline comment as done.
Joe added a comment.

Add exhaustive correctness test.
Also remove signage test in binaryXor, as the common bits would be 0 anyway, thus creating a full set regardless.


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

https://reviews.llvm.org/D120136

Files:
  llvm/lib/Analysis/LazyValueInfo.cpp
  llvm/lib/IR/ConstantRange.cpp
  llvm/test/Transforms/CorrelatedValuePropagation/xor.ll
  llvm/unittests/IR/ConstantRangeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120136.410280.patch
Type: text/x-patch
Size: 7457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220221/2650daad/attachment.bin>


More information about the llvm-commits mailing list