aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-01-04 11:48:00 -0500
committerMatt Arsenault <arsenm2@gmail.com>2020-01-22 11:16:19 -0500
commitbb562d1af0e9f959eceb8b41cc5530202d55731a (patch)
treec4af174f0d4b4ca7716cae82b7b922a4b18c0ae6 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent0cb274de397a193fb37c60653b336d48a3a4f1bd (diff)
downloadllvm-bb562d1af0e9f959eceb8b41cc5530202d55731a.zip
llvm-bb562d1af0e9f959eceb8b41cc5530202d55731a.tar.gz
llvm-bb562d1af0e9f959eceb8b41cc5530202d55731a.tar.bz2
AMDGPU/GlobalISel: Keep G_BITCAST out of waterfall loop
The waterfall utility function blindly inserts a phi for every def in the loop. We don't need this one to be preserved for every iteration. Saves an extra phi and copy inside the loop body.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions