summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-08-19 17:17:06 +0000
committerTim Northover <tnorthover@apple.com>2016-08-19 17:17:06 +0000
commit91c8173093b35392e804a7267c386d147e73979e (patch)
tree7aecf6871f63e6a6afc21a9e3c23d9e3e896fe27 /llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
parent170dede75dc30599b1628e83ad45ec940b165af3 (diff)
downloadbcm5719-llvm-91c8173093b35392e804a7267c386d147e73979e.tar.gz
bcm5719-llvm-91c8173093b35392e804a7267c386d147e73979e.zip
GlobalISel: support overflow arithmetic intrinsics.
Unsigned addition and subtraction can reuse the instructions created to legalize large width operations (i.e. both produce and consume a carry flag). Signed operations and multiplies get a dedicated op-with-overflow instruction. Once this is produced the two values are combined into a struct register (which will almost always be merged with a corresponding G_EXTRACT as part of legalization). llvm-svn: 279278
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud