diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-01-14 01:25:24 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-01-14 01:25:24 +0000 |
commit | 6fb3bd6a658940287789198d3207b0da04c0a4e6 (patch) | |
tree | 7d3b9be2b6b00fd564f0b884de5c1999b1985890 /lib/Transforms/Utils/Local.cpp | |
parent | 6283760cd13fa3f41c7f6462456661ea54ded980 (diff) |
Add bswap intrinsics as documented in the Language Reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 4e3b3e972e..c4b69a40d4 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -298,6 +298,9 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) { case Intrinsic::frameaddress: case Intrinsic::stacksave: case Intrinsic::isunordered: + case Intrinsic::bswap_i16: + case Intrinsic::bswap_i32: + case Intrinsic::bswap_i64: case Intrinsic::ctpop: case Intrinsic::ctlz: case Intrinsic::cttz: |