Use IntrinsicInst to test for prefetch instructions, which is ever so
authorDan Gohman <gohman@apple.com>
Fri, 4 May 2007 14:59:09 +0000 (14:59 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 4 May 2007 14:59:09 +0000 (14:59 +0000)
commite5b01bea7b9b7dce7c24484d2d915b0c118d4d07
tree5e88a23e8a888b9e2f8ac6fb5f7b6134b11ec2d0
parent6da91d3c2c138eb1d9739701a1314ba3580df897
Use IntrinsicInst to test for prefetch instructions, which is ever so
slightly nicer than using CallInst with an extra check; thanks Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36743 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp