Commit 0a857d1
Optimize CONTAINS_OP and IS_OP
Summary: More optimizations around `TO_BOOL` - this time contains is known to return a bool so the conversion can be removed, and UNARY_NOT can be inverted and removed.
Reviewed By: alexmalyshev
Differential Revision: D80987788
fbshipit-source-id: 49559b84dd28a1c5fd9b32564c0122f2ed1b8c601 parent 59ab86f commit 0a857d1
1 file changed
Lines changed: 23 additions & 0 deletions
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
967 | 988 | | |
968 | 989 | | |
969 | 990 | | |
970 | 991 | | |
971 | 992 | | |
972 | 993 | | |
973 | 994 | | |
| 995 | + | |
| 996 | + | |
974 | 997 | | |
975 | 998 | | |
976 | 999 | | |
| |||
0 commit comments