Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-14 | update relooper; 1.13.21.13.2 | Alon Zakai | |
2014-03-11 | tiny indentation fix | Alon Zakai | |
2014-03-11 | mention the function in the asm() error | Alon Zakai | |
2014-03-10 | update float ffi rules | Alon Zakai | |
2014-03-08 | resolve constants fully, through both multiple aliases and bitcasts | Alon Zakai | |
2014-03-08 | avoid infinite loops in AllocaManager::computeInterBlockLiveness | Alon Zakai | |
2014-03-07 | fix the case where exceptions are lowered and we already had ↵ | Alon Zakai | |
getHigh/preInvoke/postInvoke defined in the module | |||
2014-03-06 | Implement integer promotion for urem, udiv, srem, and sdiv | Dan Gohman | |
The optimizer sometimes thinks it's beneficial to truncate all manner of i64 operators to narrower types, even when still wider than the platform's widest legal type. | |||
2014-03-06 | handle aliases in getConstAsOffset | Alon Zakai | |
2014-03-06 | Fix a use-after-free error in GlobalOpt CleanupConstantGlobalUsers | Dan Gohman | |
This is a backport of r197178 from LLVM trunk. | |||
2014-03-06 | do not warn on invalid argument numbers or types in varargs calls | Alon Zakai | |
2014-03-06 | Improve linker messages when modules differ in triple or data layout. | Dan Gohman | |
This is a backport of r203009 from LLVM trunk. Since we recently changed triples and data layouts, this is particularly apropos. | |||
2014-03-05 | Disable the ResolveAliases and GlobalCleanup passes. | Dan Gohman | |
Also add a test for handling of global aliases. | |||
2014-03-05 | Minor CallHandler cleanups. | Dan Gohman | |
2014-03-05 | Disable the LowerExpectIntrinsic pass. | Dan Gohman | |
2014-03-05 | Don't emit redirects for llvm.memcpy.p0i8.p0i8.i32 and friends. | Dan Gohman | |
We never reference these intrinsics by name, so we don't need redirects for them. | |||
2014-03-05 | Don't emit JS declarations for LLVM intrinsics expanded inline. | Dan Gohman | |
2014-03-05 | Tidy up the output for memset and memcpy, and add a test. | Dan Gohman | |
2014-03-05 | Don't run a pass to strip dead prototypes; just ignore them. | Dan Gohman | |
Also, fix the code for supressing declarations for no-op intrinsics. | |||
2014-03-05 | emscripten_debugger() intrinsic | Alon Zakai | |
2014-03-05 | Clean up the handling of inline asm. | Dan Gohman | |
Make inline asm a report_fatal_error instead of an assertion failure so that it's a little friendlier, and add a test to make sure llc -march=js rejects inline asm. Also disable the PNaCl inline asm("":::"memory") lowering pass. If people are using this, it's best that we diagnose it as it likely isn't portable. There are usually better alternatives. | |||
2014-03-05 | Teach phi translation to also look through bitcasts. | Dan Gohman | |
This fixes a regression introduced in d95cd364f0c049d6c1b8d78746d44c00ed2f69f2; when regular expression translation looks through bitcasts but phi translation doesn't, phi translation may fail to properly detect dependencies. | |||
2014-03-05 | Fix missing LLVMBuild.txt and CMake dependencies. | Dan Gohman | |
2014-03-05 | Trim unneeded #includes. | Dan Gohman | |
This also helps clarify that we're not using the MC framework. | |||
2014-03-05 | Eliminate a few more temporary std::strings. | Dan Gohman | |
2014-03-05 | Fix a broken CMake build file. | Dan Gohman | |
2014-03-04 | Don't run calculateNativizedVars at -O1 and higher. | Dan Gohman | |
2014-03-04 | Don't run SimplifyAllocas at -O1 and higher. | Dan Gohman | |
2014-03-04 | Perform alloca coloring only at -O1 and higher. | Dan Gohman | |
2014-03-04 | Introduce AllocaManager, a class for managing allocas. | Dan Gohman | |
The AllocaManager performs stack layout for alloca objects. It is capable of analyzing alloca liveness and sharing space between multiple allocas. | |||
2014-03-04 | Simplify the handling of unnamed values. | Dan Gohman | |
This will also make it easier for the upcoming AllocaManager to eliminate allocas, because unnamed eliminated allocas won't be assigned names. | |||
2014-03-04 | Handle name prefixing in sanitizeGlobal/sanitizeLocal. | Dan Gohman | |
In the case of sanitizeGlobal, "_" was being prefixed in two different places; this factors it out into one place. | |||
2014-03-04 | Better integration with the LLVM Target system. | Dan Gohman | |
In particular, this is needed to make getOptLevel() work. | |||
2014-03-03 | check argument and return types statically | Alon Zakai | |
2014-03-03 | forward assertions setting into backend, and use it to check for invalid # ↵ | Alon Zakai | |
of args in static calls | |||
2014-03-03 | Switch to 16-byte stack alignment. | Dan Gohman | |
When we support 16-byte SIMD types, it will be nice to be able to store them on the stack aligned without dynamic stack pointer realignment. | |||
2014-03-03 | Optimize out code and variables for no-op pointer casts. | Dan Gohman | |
2014-03-03 | Fix alignment of vararg buffer allocas. | Dan Gohman | |
Since we do 8-byte loads for va_arg of double, make sure the vararg buffer alloca is 8-byte aligned. | |||
2014-03-03 | Don't store padding zeros for a ConstantAggregateZero. | Dan Gohman | |
2014-03-02 | tolerate phis that refer to values from unreachable blocks | Alon Zakai | |
2014-02-28 | Use range metadata instead of introducing selects. | Dan Gohman | |
When GlobalOpt has determined that a GlobalVariable only ever has two values, it would convert the GlobalVariable to a boolean, and introduce SelectInsts at every load, to choose between the two possible values. These SelectInsts introduce overhead and other unpleasantness. This patch makes GlobalOpt just add range metadata to loads from such GlobalVariables instead. This enables the same main optimization (as seen in test/Transforms/GlobalOpt/integer-bool.ll), without introducing selects. The main downside is that it doesn't get the memory savings of shrinking such GlobalVariables, but this is expected to be negligible. | |||
2014-02-28 | Move ExpandI64 into lib/Target/JSBackend. | Dan Gohman | |
2014-02-28 | Use more LLVM-idiomatic error reporting. | Dan Gohman | |
2014-02-28 | Implement llvm.flt.rounds and disable the createRewriteLLVMIntrinsicsPass pass. | Dan Gohman | |
2014-02-28 | fix check on whether a global is external; fixes issue #24 | Alon Zakai | |
2014-02-28 | use use_empty | Alon Zakai | |
2014-02-27 | emit assigns only for variables actually used | Alon Zakai | |
2014-02-26 | Merge pull request #23 from sunfishcode/incoming | Alon Zakai | |
Incoming | |||
2014-02-26 | NoExitRuntime | Alon Zakai | |
2014-02-25 | properly handle align 0 on memcpy and memset, warning if asked for | Alon Zakai | |