mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	another const prop failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1710,3 +1710,12 @@ The results for a function + set of constant arguments should be memoized in a | |||||||
| map. | map. | ||||||
|  |  | ||||||
| //===---------------------------------------------------------------------===// | //===---------------------------------------------------------------------===// | ||||||
|  |  | ||||||
|  | The libcall constant folding stuff should be moved out of SimplifyLibcalls into | ||||||
|  | libanalysis' constantfolding logic.  This would allow IPSCCP to be able to | ||||||
|  | handle simple things like this: | ||||||
|  |  | ||||||
|  | static int foo(const char *X) { return strlen(X); } | ||||||
|  | int bar() { return foo("abcd"); } | ||||||
|  |  | ||||||
|  | //===---------------------------------------------------------------------===// | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user