[InstCombine] add tests for FP cast of cast; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 17 May 2020 15:40:27 +0000 (11:40 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 17 May 2020 15:42:07 +0000 (11:42 -0400)
commit130a2356aee7d8326af4635791d40a19e582a5f0
tree3b853bb3f9b599e07e00240051e69bbd92e1e212
parent42011fb1c881fc5902935044ab92b05ac827e8ec
[InstCombine] add tests for FP cast of cast; NFC

A fold of casts is proposed as a backend transform in D79187,
but we can also do that in IR (and that may obsolete the need
for a backend transform).
llvm/test/Transforms/InstCombine/fptrunc.ll