[all-commits] [llvm/llvm-project] 7d3924: [IR] Add nowrap flags for trunc instruction (#85592)
elhewaty via All-commits
all-commits at lists.llvm.org
Thu Mar 28 23:09:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d3924cee30a87a51f9dc04ec843ae6bc3d1c90e
https://github.com/llvm/llvm-project/commit/7d3924cee30a87a51f9dc04ec843ae6bc3d1c90e
Author: elhewaty <mohamedatef1698 at gmail.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Operator.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/test/Assembler/flags.ll
M llvm/test/Bitcode/flags.ll
M llvm/test/Transforms/InstCombine/freeze.ll
M llvm/test/Transforms/InstCombine/trunc.ll
M llvm/test/Transforms/SimplifyCFG/HoistCode.ll
Log Message:
-----------
[IR] Add nowrap flags for trunc instruction (#85592)
This patch adds the nuw (no unsigned wrap) and nsw (no signed wrap)
poison-generating flags to the trunc instruction.
Discourse thread:
https://discourse.llvm.org/t/rfc-add-nowrap-flags-to-trunc/77453
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list