[PATCH] D86395: InstCombine transform pattern "(~A & B) ^ A -> (A | B)" added
Jaydeep Chauhan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 10:12:53 PDT 2020
Jac1494 added a comment.
In D86395#2246162 <https://reviews.llvm.org/D86395#2246162>, @spatel wrote:
>> If my earlier comment about the tests did not make sense, please grep for "thwart" in this test directory to see examples.
A bit of clarification needed(I'm still new to this) @spatel .
Can you please explain what is purpose of this line ?? And is this 42 value conveying something special to codegen pipeline ??
x = add i32 %p, 42 ; thwart complexity-based canonicalization
And How to create this. ?? Because I have tried to create IR(test case) with optimization without this patch but i am not getting this line.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86395/new/
https://reviews.llvm.org/D86395
More information about the llvm-commits
mailing list