This website requires JavaScript.
Explore
Help
Register
Sign In
caio
/
clang-p2996
Watch
1
Star
0
Fork
0
You've already forked clang-p2996
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
1982afb145bcd2a4252b6bd32edd42c52effd9aa
clang-p2996
/
mlir
/
lib
/
Transforms
/
Utils
/
GreedyPatternRewriteDriver.cpp
River Riddle
1982afb145
Unify the 'constantFold' and 'fold' hooks on an operation into just 'fold'. This new unified fold hook will take constant attributes as operands, and may return an existing 'Value *' or a constant 'Attribute' when folding. This removes the awkward situation where a simple canonicalization like "sub(x,x)->0" had to be written as a canonicalization pattern as opposed to a fold.
...
-- PiperOrigin-RevId: 248582024
2019-05-20 13:44:24 -07:00
8.1 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink