[llvm-dev] Disable combining of loads and stores in instcombine

Tom Stellard via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 16 20:16:54 PDT 2019

On 04/16/2019 11:38 AM, Neil Ryan via llvm-dev wrote:
>  LLVM's optimizer combines stores to consecutive characters into a write of a single word.  For instance, if I have char A[4] and I write some static value to each element, these writes would be combined into a single 32-bit word write. I found this thread <http://llvm.1065342.n5.nabble.com/disabling-combining-load-stores-in-optimizer-td37560.html> from 2009 -- it seems like it wasn't possible then. Has anything changed since?          

Why do you want to disable this optimization?


> Neil
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

More information about the llvm-dev mailing list