This is a simple patch that makes canCreateUndefOrPoison use
Instruction::isBinaryOp because BinaryOperator inherits Instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84596
[ValueTracking] Instruction::isBinaryOp should be used for constexprs ClosedPublic Authored by aqjune on Jul 26 2020, 4:53 AM.
Details Summary This is a simple patch that makes canCreateUndefOrPoison use
Diff Detail
Event Timelineaqjune added a child revision: D84597: [ConstantFolding] Fold freeze if it is never undef or poison.Jul 26 2020, 5:13 AM This revision is now accepted and ready to land.Jul 26 2020, 5:43 AM Closed by commit rG9f074214b7a3: [ValueTracking] Instruction::isBinaryOp should be used for constexprs (authored by aqjune). · Explain WhyJul 26 2020, 5:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 280720 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/freeze.ll
|