[all-commits] [llvm/llvm-project] 6e9223: [PowerPC][NFC] Update test to prevent DCE from cau...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Tue May 26 11:38:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6e9223a2c65835444c5c1328d52daf9f85f9618c
https://github.com/llvm/llvm-project/commit/6e9223a2c65835444c5c1328d52daf9f85f9618c
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M llvm/test/CodeGen/PowerPC/pr45709.ll
Log Message:
-----------
[PowerPC][NFC] Update test to prevent DCE from causing failures
The test case provided in PR45709 can be simplified by DCE to an
empty function. To prevent this from happening if DCE is run prior
to ISEL in the back end, just add optnone to the function. The
behaviour it is testing for is in the SDAG legalization and is
not sensitive to optnone so the test case still achieves its desired
objective.
More information about the All-commits
mailing list