[PATCH] D61544: Add FNeg IR constant folding
Cameron McInally via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 5 09:02:32 PDT 2019
cameron.mcinally updated this revision to Diff 198182.
cameron.mcinally added a comment.
Revert default case change from `ConstantFoldUnaryInstruction(...)` and move `fneg.ll` tests to new file `test/Analysis/ConstantFolding/fneg.ll`.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61544/new/
https://reviews.llvm.org/D61544
Files:
llvm/include/llvm/Analysis/ConstantFolding.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/ConstantFold.h
llvm/lib/IR/Constants.cpp
llvm/test/Analysis/ConstantFolding/fneg.ll
llvm/test/Transforms/InstCombine/fneg.ll
llvm/test/Transforms/InstCombine/fsub.ll
llvm/test/Transforms/InstCombine/inselt-binop.ll
llvm/test/Transforms/Reassociate/crash2.ll
llvm/unittests/IR/ConstantsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61544.198182.patch
Type: text/x-patch
Size: 14760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190505/7c57993b/attachment.bin>
More information about the llvm-commits
mailing list