summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-05 21:51:39 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-05 21:51:39 +0000
commit1440107821cf72a1ce15ed626c9c17460e699d8e (patch)
treeb2975fc97d8af4ca79b0eb5e96ab9577c3a1b102 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parent72c2d355b789d73b7815fab64b12e7c68d1f3a1c (diff)
downloadbcm5719-llvm-1440107821cf72a1ce15ed626c9c17460e699d8e.tar.gz
bcm5719-llvm-1440107821cf72a1ce15ed626c9c17460e699d8e.zip
[InstSimplify] fold select (fcmp X, Y), X, Y
This is NFCI for InstCombine because it calls InstSimplify, so I left the tests for this transform there. As noted in the code comment, we can allow this fold more often by using FMF and/or value tracking. llvm-svn: 346169
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud