mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|     let a := calldataload(sub(7, 7))
 | |
|     let b := sub(a, 0)
 | |
|     // Below, `b` is not eliminated, because
 | |
|     // we run CSE and then Simplify.
 | |
|     // Elimination of `b` would require another
 | |
|     // run of CSE afterwards.
 | |
|     mstore(b, eq(calldataload(0), a))
 | |
| }
 | |
| // ----
 | |
| // step: fullSimplify
 | |
| //
 | |
| // {
 | |
| //     let a := calldataload(0)
 | |
| //     let _4 := 0
 | |
| //     let b := a
 | |
| //     mstore(b, eq(calldataload(_4), a))
 | |
| // }
 |