summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-09-25 13:29:09 +0000
committerSanjay Patel <spatel@rotateright.com>2019-09-25 13:29:09 +0000
commit2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0 (patch)
tree742840a75e3e3e25c93dc802a9003cc0b091b883 /llvm/lib/Bitcode/Writer
parent791526085338594381adcacc13f04a4834e56d36 (diff)
downloadbcm5719-llvm-2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0.tar.gz
bcm5719-llvm-2cec4b58f5ce7d5c843dbfb753b0acb29c81cfc0.zip
Revert [IR] allow fast-math-flags on phi of FP values
This reverts r372866 (git commit dec03223a97af0e4dfcb23da55c0f7f8c9b62d00) llvm-svn: 372868
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 2818e843b50..0eea6dc87ce 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -2880,11 +2880,6 @@ void ModuleBitcodeWriter::writeInstruction(const Instruction &I,
pushValueSigned(PN.getIncomingValue(i), InstID, Vals64);
Vals64.push_back(VE.getValueID(PN.getIncomingBlock(i)));
}
-
- uint64_t Flags = getOptimizationFlags(&I);
- if (Flags != 0)
- Vals64.push_back(Flags);
-
// Emit a Vals64 vector and exit.
Stream.EmitRecord(Code, Vals64, AbbrevToUse);
Vals64.clear();
OpenPOWER on IntegriCloud