aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-02-12 21:16:58 +0000
committerSean Callanan <scallanan@apple.com>2016-02-12 21:16:58 +0000
commit8c62daf250020c76a78c54c2efc321d61c84f411 (patch)
treec5a46e269b9de4e8aec37ad7cd64b8c0f3fc17d4 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parentb281480203663a1add8248f400947b8d23db9509 (diff)
downloadllvm-8c62daf250020c76a78c54c2efc321d61c84f411.zip
llvm-8c62daf250020c76a78c54c2efc321d61c84f411.tar.gz
llvm-8c62daf250020c76a78c54c2efc321d61c84f411.tar.bz2
IRInterpreter now recognizes expressions with constants it doesn't handle.
If an instruction has a constant that IRInterpreter doesn't know how to deal with (say, an array constant, because we can't materialize it to APInt) then we used to ignore that and only fail during expression execution. This is annoying because if IRInterpreter had just returned false from CanInterpret(), the JIT would have been used. Now the IRInterpreter checks constants as part of CanInterpret(), so this should hopefully no longer be an issue. llvm-svn: 260735
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions