We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e9c62 commit dea5bafCopy full SHA for dea5baf
llvm/lib/Transforms/Scalar/BDCE.cpp
@@ -97,9 +97,6 @@ static bool bitTrackingDCE(Function &F, DemandedBits &DB) {
97
if (I.mayHaveSideEffects() && I.use_empty())
98
continue;
99
100
- if (I.isVolatile() && !I.isPHINodeOrSelectInstOrSwitchInst())
101
- continue;
102
-
103
// Remove instructions that are dead, either because they were not reached
104
// during analysis or have no demanded bits.
105
if (DB.isInstructionDead(&I) ||
0 commit comments