aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-12-02 18:40:43 +0000
committerRui Ueyama <ruiu@google.com>2016-12-02 18:40:43 +0000
commit5419861a527820cd2f1fe1d10137ead1cd9ff346 (patch)
tree5e0d94ebd74ecbc0b8c9710d3b2cf613eb79f055 /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
parent612d24badf8cbd1421898956b38acf8b283457b4 (diff)
downloadllvm-5419861a527820cd2f1fe1d10137ead1cd9ff346.zip
llvm-5419861a527820cd2f1fe1d10137ead1cd9ff346.tar.gz
llvm-5419861a527820cd2f1fe1d10137ead1cd9ff346.tar.bz2
Remove a wrong performance optimization.
This is a hack for single thread execution. We are using Color[0] and Color[1] alternately on each iteration. This optimization is to look at the next slot as opposted to the current slot to get recent results early. Turns out that the assumption is wrong, because the other slots are not always have the most recent values, but instead it may have stale values of the previous iteration. This patch removes that performance hack. llvm-svn: 288527
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions